The poput window is just a rendering surface, the termminal code still executes in the original/parent window.