diff options
| author | har7an <99636919+har7an@users.noreply.github.com> | 2022-08-11 09:10:12 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-11 11:10:12 +0200 |
| commit | dba5dcbd8301913155d1b2df3b6c875a735668f2 (patch) | |
| tree | 93c1f2e1ed8b6882262dd77c2596ea7045e53048 /example | |
| parent | flake.lock: Update (#1639) (diff) | |
| download | sl0ppij-dba5dcbd8301913155d1b2df3b6c875a735668f2.tar.gz sl0ppij-dba5dcbd8301913155d1b2df3b6c875a735668f2.tar.xz sl0ppij-dba5dcbd8301913155d1b2df3b6c875a735668f2.zip | |
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>
Diffstat (limited to 'example')
0 files changed, 0 insertions, 0 deletions
