Re: [hackers] st - folded line selection by triple click

From: Christoph Lohmann <>
Date: Sun, 28 Apr 2013 18:17:00 +0200

On Sun, 28 Apr 2013 18:17:00 +0200 Alexander Rezinsky <> wrote:
> Hi,
> As far as I understand when users sees very long lines which are folded
> inside st it is much more intuitive to select the whole line by triple
> click. Right now by triple click st selects only visible part of long line.
> Probably my patch may be conditional by some variable in config.h file.
> Thus we can either keep old behavior for users prefer that or add "triple
> click selects whole line" functionality to other users.
> Very base use case: when we run long third party makefile it is very
> convenient to select whole line from its output in order to paste it to
> command line later, probably with some modifications.

I’ve added the behaviour for SNAP_WORD and SNAP_LINE. See if this works
for you as expected. Please keep to the original style of st when send‐
ing in patches.

Thanks for the patches!


Christoph Lohmann
Received on Sun Apr 28 2013 - 18:17:00 CEST

This archive was generated by hypermail 2.3.0 : Sun Apr 28 2013 - 18:24:14 CEST