set_dec_mode drops any argument after the first

Bug #2028786 reported by Marcus Tillmanns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvterm
Fix Released
Undecided
Unassigned

Bug Description

Some applications send DEC private mode set / reset with multiple arguments.
This was especially visible with htop as installed by brew on macos, and a variety of apps on windows when run via conpty.

The attached patch fixes this.

Revision history for this message
Marcus Tillmanns (marcusti) wrote :
Revision history for this message
Paul "LeoNerd" Evans (leonerd) wrote :

LGTM give or take some minor whitespace issues.

Revision history for this message
Paul "LeoNerd" Evans (leonerd) wrote :

Now applied with tests

836: Paul "LeoNerd" Evans 2023-08-03 Permit DECSM/DECRM on multiple mode arguments (LP2028786)

Changed in libvterm:
status: New → Fix Committed
Revision history for this message
Paul "LeoNerd" Evans (leonerd) wrote :

Fixed in v0.3.3

Changed in libvterm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.