diff --git a/zellij/src/main.rs b/zellij/src/main.rs index d73bec9..540b97f 100644 --- a/zellij/src/main.rs +++ b/zellij/src/main.rs @@ -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); } } }