Re: [dev] st lack of scrollback

From: Christoph Lohmann <20h_AT_r-36.net>
Date: Thu, 11 Aug 2016 22:35:26 +0200

Greetings.

On Thu, 11 Aug 2016 22:35:26 +0200 Amer <amerlyq_AT_gmail.com> 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_"

Add this to your $HOME/.tmux.conf:

        set -g destroy-unattached on


Sincerely,

Christoph Lohmann
Received on Thu Aug 11 2016 - 22:35:26 CEST

This archive was generated by hypermail 2.3.0 : Thu Aug 11 2016 - 22:48:10 CEST