diff options
| author | Paulo Coelho <9609090+prscoelho@users.noreply.github.com> | 2021-09-06 10:23:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-06 11:23:15 +0200 |
| commit | bdef573fb47a5b100aeab70099df42e3f0cc1ab3 (patch) | |
| tree | 19d9fe08768b0f69dc1cf49c4d9418a22209e999 | |
| parent | fix(tabs): force render by index rather than by position (#684) (diff) | |
| download | sl0ppij-bdef573fb47a5b100aeab70099df42e3f0cc1ab3.tar.gz sl0ppij-bdef573fb47a5b100aeab70099df42e3f0cc1ab3.tar.xz sl0ppij-bdef573fb47a5b100aeab70099df42e3f0cc1ab3.zip | |
fix(tabs): use tab index for tab name (#686)
| -rw-r--r-- | zellij-server/src/tab.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zellij-server/src/tab.rs b/zellij-server/src/tab.rs index 16e196a1..be2d0ea7 100644 --- a/zellij-server/src/tab.rs +++ b/zellij-server/src/tab.rs @@ -268,7 +268,7 @@ impl Tab { let panes = BTreeMap::new(); let name = if name.is_empty() { - format!("Tab #{}", position + 1) + format!("Tab #{}", index + 1) } else { name }; |
