The content disorder when use up or down key of keyboard to switch history commands
See original GitHub issueDetails
- Browser and browser version: 106.0.5249.119
- OS version: macOS Big Sur
- xterm.js version: 4.3.0
Steps to reproduce
- Link a machine
- Resize the window
- Use up or down key to switch history commands
- When the command is too long to on the same line, and click the key to switch again,then the previous command will stay,the next command will be disordered
The previous command actually is
ssh localhost -p 2222
, the next command actually isssh -vvv 'admin:wjw@localhost' -p 2222
I suspect this is backend problem, but i console the bianry message when reproduce the problem and it looks the same as normal
when reproduce the problem:
00000000: 0808 0808 0808 0808 0808 0808 0808 0808 ................
00000001: 081b 5b31 3740 2d76 7676 2027 6164 6d69 ..[17@-vvv 'admi
00000002: 6e3a 776a 7740 6c6f 6361 6c68 6f73 7427 n:wjw@localhost'
00000003: 1b5b 431b 5b43 1b5b 431b 5b43 1b5b 431b .[C.[C.[C.[C.[C.
00000004: 5b43 1b5b 431b 5b43 [C.[C.[C
the normal bianry message:
00000000: 0808 0808 0808 0808 0808 0808 0808 0808 ................
00000001: 081b 5b31 3740 2d76 7676 2027 6164 6d69 ..[17@-vvv 'admi
00000002: 6e3a 776a 7740 6c6f 6361 6c68 6f73 7427 n:wjw@localhost'
00000003: 1b5b 431b 5b43 1b5b 431b 5b43 1b5b 431b .[C.[C.[C.[C.[C.
00000004: 5b43 1b5b 431b 5b43 [C.[C.[C
Hope to get help
Issue Analytics
- State:
- Created a year ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Key commands for Global Commands in Logic Pro
A table of Logic Pro Global Commands key commands. ... Show/Hide Step Input Keyboard ... Select Previous Track. Up Arrow. Select Next Track....
Read more >Using Keyboard-only Navigation, for Web Accessibility
Navigating through a website with a keyboard uses the TAB key to move forward and the SHIFT+TAB combination to move backwards. These keys...
Read more >Mouse Commands and Keyboard Shortcuts - Formulatrix
Press and hold down the CTRL key, and then click each item that you want to select. This command selects consecutive items on...
Read more >Easy Checks – A First Review of Web Accessibility - W3C
In the "Full Keyboard Access" section, check "All Controls". Click in the address bar, then put your mouse aside and do not use...
Read more >Visual Studio Code Key Bindings
Here you will find the complete list of key bindings for Visual Studio Code and how to change them.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found the problem: I send the cols to backend before autofit, so the cols is wrong. This issue can be closed. Thanks for your help
@jerch Can you tech me how to confirm the monospace width?