[dev] [st] Selection bug after using tmux mode-mouse

From: wilhelm schuster <wilhelm.schuster.95_AT_gmail.com>
Date: Thu, 24 Jan 2013 14:57:10 +0100

Hi,
I was trying to use the "mode-mouse" (via `:setw -g mode-mouse on') of
tmux to scroll around in its scrollback buffer. In this mode tmux
catches the cursor, so if you want to select text with the mouse
cursor, it gets marked yellow by default and the selection disappears
when you stop clicking. My workaround was to disable mode-mouse so
that it stops capturing the mouse and I'm able to select text via the
terminal emulators function and copy it to the clipboard. After this I
can reactivate mode-mouse. In gnome-terminal this works as expected
(scrolling in the buffer - disable mode-mouse - select text - copy to
clipboard - enable mode-mouse). In st I can't select anything (with
st's selection function) anymore after disabling mode-mouse and when I
try to select something in st after closing tmux, it prints random
characters to the shell's input line (see my attached screenshot),
while not showing any visible selection.
I'm using the latest version from git.

Sincerely, Wilhelm Schuster

st.png
(image/png attachment: st.png)

Received on Thu Jan 24 2013 - 14:57:10 CET

This archive was generated by hypermail 2.3.0 : Thu Jan 24 2013 - 15:00:05 CET