mirror of
https://github.com/zellij-org/zellij.git
synced 2024-11-30 09:55:29 +03:00
fix(tabs): use tab index for tab name (#686)
This commit is contained in:
parent
6ec51952d0
commit
bdef573fb4
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user