URL: <https://savannah.gnu.org/bugs/?59183>
Summary: Switching regions with the mouse fails with wide regions Project: GNU Screen Submitted by: None Submitted on: Sat 26 Sep 2020 09:12:19 AM UTC Category: User Interface Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Release: 4.8.0 Discussion Lock: Any Fixed Release: None Planned Release: None Work Required: None _______________________________________________________ Details: I'm trying to determine if this is a bug in screen, related to switching regions with the mouse when using a wide monitor. To reproduce: screen C-a | # vertical split C-a TAB # change focus to new region C-a c # new window C-a : mousetrack on I can now click with my mouse to move back and forth between the two regions, each with its own window. However, if I make my terminal emulator window sufficiently wide (either before or after the above procedure), I can no longer click on the right region/window to activate it. I can make the two windows have a width of 222 and 223 cols, respectively (as measured by "tput cols"), by dragging the terminal emulator window to resize it. Soon after that, I can no longer select the righthand region/window with the mouse. The most intriguing thing from googling was an old post/patch related to a similar problem with a similar magic number, 223 = 255 - 32. https://lists.gnu.org/archive/html/screen-devel/2012-07/msg00004.html https://stackoverflow.com/questions/24700444/gnu-screen-mouse-limitation I am using iTerm2 and this version of screen, from MacPorts: $ screen --version Screen version 4.08.00 (GNU) 05-Feb-20 $ echo $TERM xterm-256color Snippet from screen startup: Capabilities: +copy +remote-detach +power-detach +multi-attach +multi-user +font +color-256 +utf8 +rxvt +builtin-telnet I see the same behavior if I use a different terminal emulator (OS X Terminal.app) and/or if I SSH to an Ubuntu 18.04.5 LTS machine and run screen with version $ screen --version Screen version 4.06.02 (GNU) 23-Oct-17 _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59183> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/