xtermjs/xterm.js

Support DECSLRM (SMGLR, SMGLP, SMGRP) - Set Left and Right Margins for better scrolling performance in multi-pane TUIs

开放

#4,285 创建于 2022年12月2日

 (3 条评论) (0 个反应) (0 位负责人)TypeScript (1,574 个派生)batch import
area/parserhelp wantedtype/enhancement

仓库指标

星标
 (16,196 个星标)
PR 合并指标
 (平均合并 2天 10小时) (30 天内合并 16 个 PR)

描述

Ref. #2358

Also known as Set Left and Right Margins. This feature is used by terminal applications like tmux and (neo)vim to optimize pane scrolling. Real xterm supports it, many not-real-xterms don't, so Neovim patches out this functionality for xterm pretenders (which it tries to detect via the XTERM_VERSION environment variable).

Right now, forcing Neovim to use the smglr results in this: https://asciinema.org/a/Qcgm1znQy3nE8DnCc0jnrjXMi (versus not using them).

贡献者指南