mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-24 09:05:48 -04:00
csi: invert the meaning of DECSDM
There has been some confusion whether enabling DECSDM (private mode 80) enables or disables sixel scrolling. Foot currently enables scrolling when DECSDM is set, and this patch changes this, such that setting DECSDM now *disables* scrolling. The confusion is apparently due to a documentation error in the VT340 manual, as described in https://github.com/dankamongmen/notcurses/issues/1782#issuecomment-863603641. And that makes sense, in a way: the SDM in DECSDM stands for Sixel Display Mode. I.e. it stands to reason that enabling that disables scrolling. Anyway, this lead to https://github.com/hackerb9/lsix/issues/41, where it was eventually proven (by testing on a real VT340), that foot, and a large number of other terminals (including XTerm) has it wrong: https://github.com/hackerb9/lsix/issues/41#issuecomment-873269599.
This commit is contained in:
parent
7afc4c8037
commit
fcd9897342
3 changed files with 7 additions and 5 deletions
|
|
@ -39,6 +39,8 @@
|
|||
|
||||
* Non-empty lines are now considered to have a hard linebreak,
|
||||
_unless_ an actual word-wrap is inserted.
|
||||
* Setting `DECSDM` now _disables_ sixel scrolling, while resetting it
|
||||
_enables_ scrolling (https://codeberg.org/dnkl/foot/issues/631).
|
||||
|
||||
|
||||
### Deprecated
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue