Re: [dev] [st][patch] Allow mouse selection override using ShiftMask

From: Raphaël Proust <raphlalou_AT_gmail.com>
Date: Mon, 12 May 2014 10:44:21 +0100

On 11 May 2014 12:34, Hiltjo Posthuma <hiltjo_AT_codemadness.org> wrote:
> Hi,
>
> The attached patch allows to force override mouse selection copy using
> the ShiftKey, similar to xterm. For example in tmux with "mode-mouse
> on".

There was a similar idea proposed sometime ago on the mailing list[0].
And a discussion following about who's responsibility it is to provide
the feature. E.g., dvtm (which has more weight in a suckless
discussion than tmux) already provide this[1] escape mechanism. The
discussion stopped half-way through.

Anyone has further ideas about such a feature and whether it belongs
to the terminal?


(Tangentially, a lot of suckless software is designed with dwm in mind
rather than other window managers. Should st be designed with dvtm in
mind rather than other terminal managers?)



[0]: http://lists.suckless.org/dev/1402/20050.html
[1]: from dvtm(1) manpage:
       Copy and Paste
              By default dvtm captures mouse events to provide the
actions listed below. Unfortunately this
              interferes with the standard X copy and paste mechanism.
 To work around this you need to hold
              down Shift while selecting or pasting text.
Alternatively you can disable mouse support at
              compile time, start dvtm with the -M flag or toggle
mouse support during runtime with Mod-M.


Cheers,
-- 
______________
Raphaël Proust
Received on Mon May 12 2014 - 11:44:21 CEST

This archive was generated by hypermail 2.3.0 : Mon May 12 2014 - 11:48:11 CEST