Re: [dev] [st] When shrinking the width of a st window, overflowing text gets cut out and it is no longer retrievable, not even if the width is reset to the original one

From: Sebastian LaVine <mail_AT_smlavine.com>
Date: Wed, 6 Jan 2021 12:14:01 -0500

On 1/6/21 9:48 AM, Laslo Hunhold wrote:> thanks for your mail and
reaching out! This is a philosophical
> question, and I agree with you in fixing this in st, others don't (with
> good reasons on both sides). Especially in the context of dwm I'm often
> annoyed when the text is cut off. To keep things simple, a project
> called scroll[0] was started to provide a scrollback buffer and
> line-retainment in st. Try it out, it might suit your needs!
>
> With best regards
>
> Laslo
>
> [0]:https://git.suckless.org/scroll/
>

I just successfully built scroll and it seems to do the same thing that
GNU screen and other multiplexers do, which is wrap lines when the
terminal window is cut in dwm. This isn't quite what I personally would
want; I would prefer if the lines didn't wrap, but just the information
that is cut out is redrawn when the window size is expanded. Kindof like
how `less -S` works. But this will require some tinkering on my part, I
think :)

-- 
Sebastian LaVine | https://smlavine.com
Received on Wed Jan 06 2021 - 18:14:01 CET

This archive was generated by hypermail 2.3.0 : Wed Jan 06 2021 - 18:24:10 CET