screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #37206] Support for newer terminal mouse modes


From: Ryan
Subject: [screen-devel] [bug #37206] Support for newer terminal mouse modes
Date: Thu, 11 Jan 2018 22:56:55 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0

Follow-up Comment #7, bug #37206 (project screen):

I've attached a new patch that applies cleanly to screen-4.6.2. 

Changes:
* Removed support for modes 1005 and 1015
* Fixed the broken 1000 mode and the off-by-one error in 1006 mode (both
turned out to be the same bug). 
* Correctly handle mouse sequences split across multiple I/O (the old patch
was imperfect)
* Correctly handle the case where the app requested mode 1006 from a terminal
that only supports mode 1000.
* Correctly handle window focus events in mode 1006
* Clean up misc code irregularities (comment styles, etc.)

The patch does *not* attempt to translate mode 1000 sequences to mode 1006.
Any app that requests the latter must also be able to handle the former as a
fallback, so screen is not doing any favors by attempting to translate.

(file #42891)
    _______________________________________________________

Additional Item Attachment:

File name: screen-4_6_2-sgr-mouse-support.patch Size:16 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37206>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]