xtermjs/xterm.js

implement alternateScroll settings

Open

#5194 aperta il 18 ott 2024

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)TypeScript (1574 fork)batch import
area/parserhelp wantedtype/enhancement

Metriche repository

Star
 (16.196 star)
Metriche merge PR
 (Merge medio 4g 3h) (81 PR mergiate in 30 g)

Descrizione

Details

  • VScode version: 1.93.1
  • OS version: RHEL 9

Steps to reproduce

  1. less file.txt
  2. Scroll mouse one click

Expected outcome

File scrolls the same 3 lines you get in the scrollback buffer, or as commonly seen in almost all other terminals.

Actual outcome

File scrolls a single line.

Additional details

If I do an strace of less, I can see the other terminals send three \33OB on one mouse scroll click, whilst xterm.js only sends the one. Which fully explains things.

I couldn't find any setting in vscode that affected this. Workarounds are welcome.

Guida contributor