Scroll through VSCode terminals one line at a time

Asked 2 years ago, Updated 2 years ago, 100 views

I would like to scroll only one line on the VSCode terminal (Bash).
Generally, it can be done with Shift+↓or↑, but in my environment, B and A are entered on the terminal respectively.
As shown in the screenshot attached below, the keyboard shortcuts are not set to enter B or A, but if anyone knows how to solve this problem and scroll through just one line, could you please let me know?

Also, Shift+←or→ will input D and C.I would also appreciate it if you could set this up so that you can select the range one character at a time on the terminal.

The running environment is Windows 10 Pro.I look forward to hearing from you.

Keyboard shortcut

Keyboard shortcut

vscode key-binding

2022-09-29 22:46

1 Answers

It seems that cursorLeftSelect and others have nothing to do with Terminal.When I searched the VSCode I had by terminal:scroll, it seemed that I could move it line by line with Ctrl+Shift+↑/↓.

A, B, C, and D appear in a shell escape sequence.

Note: Why does the terminal show"^[[A""^[B""^[C""^[[D" when pressing the arrow keys in Ubuntu?


2022-09-29 22:46

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.