After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791451 - scrolling region (DECSTBM) of < 2 lines
scrolling region (DECSTBM) of < 2 lines
Status: RESOLVED INVALID
Product: vte
Classification: Core
Component: general
git master
Other Linux
: Normal minor
: ---
Assigned To: VTE Maintainers
VTE Maintainers
[fixed:vteparser]
Depends on: vteparser
Blocks:
 
 
Reported: 2017-12-10 20:46 UTC by Christian Persch
Modified: 2018-03-27 17:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2017-12-10 20:46:39 UTC
In set_scrolling_region() we bail out if the region is < 2 lines, with a comment saying this is xterm behaviour.

However, kitty's screen.c says:
// Even though VT102 and VT220 require DECSTBM to ignore regions
// of width less than 2, some programs (like aptitude for example)
// rely on it. Practicality beats purity.

However we haven't received any report about aptitude not working correctly on vte...

konsole also has doesn't require at least 2 lines, and in fact I don't see that check in xterm either.

So probably we should drop this extra condition.
Comment 1 Christian Persch 2018-03-27 17:51:39 UTC
Seems I misinterpreted the xterm code; no changes to vte required after all.