Skip to content

Commit

Permalink
fix first window naming bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Pete Doherty committed Mar 28, 2024
1 parent badda57 commit 85cf22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ fn convert_config_to_tmux_commands(

let session_start_directory = build_session_start_directory(&config);

let first_window = if let Some(window) = config.windows.get(base_indices.base_index) {
let first_window = if let Some(window) = config.windows.first() {
window.name.clone()
} else {
None
Expand Down

0 comments on commit 85cf22b

Please sign in to comment.