zellij/zellij-server
har7an dba5dcbd83
fix (screen): don't crash when first tab doesn't exist (#1648)
* screen: Don't crash when first tab doesn't exist

while trying to attach a new client. Instead, check whether the first
tab does exist and if not, take the first tab index from the tabs
present in the session. If no tabs exist, panic with a better error
message.

* changelog: Add PR #1648

* add test

* fix(tabs): send actual default mode info to new tab

Co-authored-by: Thomas Linford <linford.t@gmail.com>
Co-authored-by: Aram Drevekenin <aram@poor.dev>
2022-08-11 11:10:12 +02:00
..
src fix (screen): don't crash when first tab doesn't exist (#1648) 2022-08-11 11:10:12 +02:00
Cargo.toml chore(version): bump development version 2022-08-02 18:46:32 +02:00