tmux-plugins / tmux-resurrect

Persists tmux environment across system restarts.
MIT License
11.42k stars 424 forks source link

Buffer Restoration? #395

Closed FOSSilizedDaemon closed 3 years ago

FOSSilizedDaemon commented 3 years ago

Is restoring the contents of the tmux buffer supported or planned to be supported? For example, if you open a session, run ls, close the session and restore that output, the output of ls, will not be saved and thus not restored. As it is in the tmux buffer, is there any plan to save and then reload the content of the tmux buffer into the restored session?

danielkrajnik commented 3 years ago

I think this can be achieved by adding this line to the .tmux.conf set -g @resurrect-capture-pane-contents 'on' # save pane contents

FOSSilizedDaemon commented 3 years ago

I think this can be achieved by adding this line to the .tmux.conf set -g @resurrect-capture-pane-contents 'on' # save pane contents

That did it! Thank you :3