-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Backspace in wrapped cooked read erases char on line above #17554
Labels
Area-CookedRead
The cmd.exe COOKED_READ handling
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Product-Conhost
For issues in the Console codebase
Comments
j4james
added
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
labels
Jul 12, 2024
I should note that this is just a visual glitch. The actual prompt content is correct. It just looks like a character is missing. |
Your issue occurs because I found two more bugs:
|
lhecker
added
Product-Conhost
For issues in the Console codebase
Area-CookedRead
The cmd.exe COOKED_READ handling
labels
Jul 12, 2024
github-merge-queue bot
pushed a commit
that referenced
this issue
Jul 15, 2024
* Wide glyphs that don't fit into the last column got treated as narrow glyphs which broke line layout. * Wide glyphs that don't fit into the last column got manually padded with whitespace which broke Ctrl+A + Ctrl+C in conhost. * Sudden increases/decreases in the pager height would leave parts of the viewport with leftover text and not clear it away. * Deleting an entire word at the start of a line would only delete its first two characters. Closes #17554
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area-CookedRead
The cmd.exe COOKED_READ handling
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Product-Conhost
For issues in the Console codebase
Windows Terminal version
Commit ac5b4f5
Windows build number
10.0.19045.4529
Other Software
No response
Steps to reproduce
Expected Behavior
Backspaces on the second line should have no effect on the characters in the first line.
Actual Behavior
The last character on the first line gets erased when backspacing over the first character in the second line.
This is what it looks like after wrapping.
And this is what it looks like after two backspaces. Notice the
r
erased from the first line.The same thing occurs in both OpenConsole and Windows Terminal. I think this was introduced by the new VT cooked read implementation (PR #17445).
The text was updated successfully, but these errors were encountered: