GNOME Bugzilla – Bug 791451
scrolling region (DECSTBM) of < 2 lines
Last modified: 2018-03-27 17:51: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.
Seems I misinterpreted the xterm code; no changes to vte required after all.