* 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> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||