Skip to content

Commit

Permalink
Use correct tab position when renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
bezbac committed Nov 12, 2024
1 parent be6e1e0 commit 563eb1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zellij/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ impl State {
}

if let Ok(tab_position) = u32::try_from(tab_position) {
rename_tab(tab_position, tab_name);
rename_tab(tab_position + 1, tab_name);
}
}
}
Expand Down

0 comments on commit 563eb1b

Please sign in to comment.