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 looked into this. I couldn't spot any differences between how node-pty creates the terminal and how pywinpty does. I made sure they were passing the same configuration flags (locally). When I run a bash script with clear in it with node-pty, the output is as expected. When I run it using pywinpty.PTY, I get \x1b[0K\r\n (Erase from current position to end) for as many lines as are in the terminal, followed by an \x1b[#A (Cursor Up). I'll come back to this with fresh eyes at another point.
It resets the cursor but doesn't clear the screen. I might need to look into how
node-pty
handles this.The text was updated successfully, but these errors were encountered: