Skip to content

Commit

Permalink
fix(tabs): use tab index for tab name (#686)
Browse files Browse the repository at this point in the history
  • Loading branch information
prscoelho authored Sep 6, 2021
1 parent 6ec5195 commit bdef573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zellij-server/src/tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down

0 comments on commit bdef573

Please sign in to comment.