You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using pty4j in my Java servlet to run a Python interpreter. The servlet uses a websocket to communicate with xterm.js running in a browser on Windows. The whole thing works really well, except..
If I run a eg. Python turtle program, The Python window appears behind the browser. I'm guessing the fact the WinPTY console is hidden isn't helping.
Have you come across this sort of thing and do you know of a workaround?
Thx, Clive
The text was updated successfully, but these errors were encountered:
@clivehaworth Good to hear it works overall. Unfortunately, no ideas what can be wrong off the top of my head. Maybe you could provide a small reproducing example? Maybe it will be fixed after adding ConPTY support (ETA - this year).
The resulting Python window is created behind all other windows. Looking at the source to WinPTY, it creates and hides the console (for good reason). I'm guessing any program running inside that console (in this case Python) will inherit the Window Manager settings of the parent process. Given the console is hidden, the Python program goes to to the back...
I'm using pty4j in my Java servlet to run a Python interpreter. The servlet uses a websocket to communicate with xterm.js running in a browser on Windows. The whole thing works really well, except..
If I run a eg. Python turtle program, The Python window appears behind the browser. I'm guessing the fact the WinPTY console is hidden isn't helping.
Have you come across this sort of thing and do you know of a workaround?
Thx, Clive
The text was updated successfully, but these errors were encountered: