zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
19.38k stars 610 forks source link

Zellij attach doesn't remember last opened pane/tab #3416

Open victorhooi opened 2 weeks ago

victorhooi commented 2 weeks ago

If I launch a Zellij session, and then disconnected, when I reconnect to that Zellij session afterwards (eg.. `zellija a), it doesn't remember my last opened pane/tab etc.

For example, if I have say 12 tabs open, and I'm opened on tab 7 - if I get disconnected, or intentionally disconnect (e.g. with zellij d) when I re-open it just opens up tab 1 by default.

(I know Zellij isn't screen/tmux etc, but from memory, most of those will remember the last opened position etc. I also find it more intuitive/helpful, for it to just resume your session as it was.)