-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sluggish delete performance on Windows #1174
Comments
@tiborsaas strange. Works fine for me. |
I know, sometimes it deletes everything, sometimes it doesn't. Not consistent. |
I can replicate this issue, appears hyper sometimes becomes out of sync when using backspace and arrow keys. This might be related to microsoft/vscode#7345 |
I also have this problem and it happens with arrow keys as well. What I see in the input and what shows up after I hit enter are not always the same. Edit: I am using Git Bash as my shell. |
I have this issue as well, but only when using Git Bash as my shell. When using cmd or PowerShell, delete works consistently as expected. |
To confirm what @nkpfstr, I have only observed this on non-cmd/PS shells in VS Code. Likely related to #1127 |
I've experienced this issue running cygwin bash. The same type of thing can happen when clearing the buffer. |
i'Ve also experienced this with cygwin |
OS version and name: windows 10 x64 Hyper.app version: 1.0.0 for me the same problem with git bash and cmd ... sometimes the last two or three chars are not deleted and then after pressing enter, they are not interpreted as a command. For hyper it is like you press enter on an empty line. |
Can confirm using "C:\Program Files\Git\bin\bash.exe" as my shell causes backspace to not work properly.
Expected results: Back space deletes all characters Actual results: Position of cursor seems laggy and "bounces back" while deleting. End result is that you end up with a cursor position that it out of sync from what it should be and it looks like all text has not been deleted. EDIT: and screen cap to show laggy bouncy behavior on backspace, at end of video you cannot backspace anymore meaning that the "jumps" while backspacing caused something to become out of sync UPDATE: Can confirm this is related to microsoft/vscode#7345 as the exact same thing happens there.. Steps to reproduce: You don't need to hold down back space... even taping it slowly can reproduce Using redux dev tools I was able to record when things go awry for the terminal: Everything is behaving good here, hit backspace... terminal behaves properly: Next key stroke, hit backspace and then something looks strange with the SESSION_PTY_DATA data that comes back... (looks different than when typically hitting backspace) It's hard to explain but here the full video of the interaction with the dev tools open showing SESSION_PTY_DATA going funky and corrupting the terminal display: https://drive.google.com/open?id=0B8I56BZ3xez4ZHcxbzNzcTNTZDQ |
This should be fixed in tomorrow's VS Code Insiders build using the beta build of node-pty. The next version of node-pty will include the long time coming winpty upgrade which fixes a host of issues (microsoft/vscode#14613 among others), so I'm just verifying the current build and then waiting on the fix for rprichard/winpty#96 (which affects WSL/Bash on Windows) before I publish the new version 🎉 |
I am on the latest Hyper.app version
I have searched the issues of this repo and believe that this is not a duplicate
Windows 10
1.0
Issue
Holding backspace does not always delete all text from the prompt.
The text was updated successfully, but these errors were encountered: