xtermjs/xterm.js

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

Open

#4.285 geöffnet am 2. Dez. 2022

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (1.574 Forks)batch import
area/parserhelp wantedtype/enhancement

Repository-Metriken

Stars
 (16.196 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 4T 3h) (81 gemergte PRs in 30 T)

Beschreibung

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).

Contributor Guide