Allow mouse selection override using ShiftMask
authorHiltjo Posthuma <hiltjo@codemadness.org>
Mon, 12 May 2014 12:39:37 +0000 (14:39 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Wed, 14 May 2014 05:48:25 +0000 (07:48 +0200)
commitcf890e5bf06a65a35fe195aa1ef8ae3e1eb55f51
treeb6f946cb82d363cd6db0beb7ecf77e17f2928a20
parentbdb850a16a6d7a2d12b2bd5500a3b7d70290a74a
Allow mouse selection override using ShiftMask

Similar to xterm or urxvt holding shift before selecting text with the mouse
allows to override copying text. For example in tmux with "mode-mouse on" or
vim (compiled with --with-x), mc, htop, etc.

forceselmod in config.h sets the modifier to use this mode, by default
ShiftMask.

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
config.def.h
st.c