-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Type Ahead isn't "on" for cursor movement when using PowerShell on non-Windows #113853
Comments
Steps to verify? |
It'll be easiest to see this in Codespaces or Remote probably (or throttle the CPU via dev tools maybe):
You should see characters start grey and then become colorized. This is the work of typeahead. |
I should have said what does |
This would be transparent to the end user, unfortunately. The true test is verifying that when you use the left or right arrow key that this code block gets hit: vscode/src/vs/workbench/contrib/terminal/browser/terminalTypeAheadAddon.ts Lines 1451 to 1458 in 3f3e35b
before my 1 character change, it did not hit that block. |
ok I think ive got a valid test...
TypeAhead assumes that TypeAhead guesses by moving the cursor back a word |
If TypeAhead was off, by doing: "terminal.integrated.localEchoLatencyThreshold": -1 The word jump wouldn't happen at all |
Version: 1.53.0-insider
Commit: 4a875e2
Date: 2020-12-21T12:32:43.927Z
Electron: 11.1.0
Chrome: 87.0.4280.88
Node.js: 12.18.3
V8: 8.7.220.29-electron.0
OS: Darwin x64 20.2.0
This seems to be because right arrow in PowerShell on non-Windows emits
\x1bOC
instead of what the ANSI spec says which is\x1b[C
.Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: