Re: [dev] st lack of scrollback

From: Quentin Carbonneaux <quentin_AT_c9x.me>
Date: Fri, 12 Aug 2016 03:02:34 +0000

On Thu, Aug 11, 2016 at 10:41:03PM +0300, Amer wrote:
> For me it started playing nicely only with wrapper to tmux, though.
> Because I didn't liked how sessions stayed alive after killing
> terminals directly through window manager.
>
> $ st -e r.tmux
>
> $ cat r.tmux
> #!/bin/bash -e
> trap "tmux kill-session -t st-$$" INT TERM EXIT
> tmux new-session -s st-$$ "$_AT_"

Cool hack, maybe we could add an "Idioms" section to the wiki
to suggest this kind of things.

-- mpu
Received on Fri Aug 12 2016 - 05:02:34 CEST

This archive was generated by hypermail 2.3.0 : Fri Aug 12 2016 - 05:12:16 CEST