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

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Mon, 12 May 2014 12:47:00 +0200

On Mon, May 12, 2014 at 11:44 AM, Raphaƫl Proust <raphlalou_AT_gmail.com> wrote:
> There was a similar idea proposed sometime ago on the mailing list[0].
Interesting, I have not seen that patch before but it looks almost identical :)

> 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.
I don't know if dvtm has more weight in a suckless discussion. As far
as I can tell alot of people use tmux, but I don't have any hard
numbers or anything. This discussion is becoming a bit confusing since
dvtm, tmux and st have some overlapping functionality. I can disable
mode-mouse in tmux, but this was just one example. There are alot more
applications that use different mouse behaviour which is useful to
override.

> Anyone has further ideas about such a feature and whether it belongs to the terminal?
In st's-case I think it belongs in st, since it's an X application
(for X clipboard copy/paste) and so it's the most practical layer to
add this functionality (afaict).

> (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?)
>
No it should not. Suckless software should work independent of
eachother assuming it's environment is somewhat sane (imho).

As described in the post you linked
(http://lists.suckless.org/dev/1402/20050.html) maybe ShiftMask can be
added as a configurable shortcut to allow shortcuts using ShiftMask
and also allow things like rectangular (SEL_RECTANGULAR) to work?

Kind regards,
Hiltjo
Received on Mon May 12 2014 - 12:47:00 CEST

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