xtermjs/xterm.js

implement alternateScroll settings

Open

#5,194 创建于 2024年10月18日

在 GitHub 查看
 (7 评论) (0 反应) (0 负责人)TypeScript (16,196 star) (1,574 fork)batch import
area/parserhelp wantedtype/enhancement

描述

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.

贡献者指南