Skip to content

Commit

Permalink
fix(pane-index): Use pane-base-index properly
Browse files Browse the repository at this point in the history
Something changed around TMUX 2.2 where base-pane-index is no longer
displayed under global options. Fetch the window based options as well.
  • Loading branch information
brianp committed Mar 5, 2019
1 parent c2c4871 commit 41e7bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/load/tmux/mod.rs
Expand Up @@ -212,6 +212,6 @@ pub fn has_session(target: &str) -> ExitStatus {
/// ```
pub fn get_config() -> String {
let output =
call(&["start-server", ";", "show-options", "-g"]).expect("couldn't get tmux options");
call(&["start-server", ";", "show-options", "-g", ";", "show-options", "-g", "-w"]).expect("couldn't get tmux options");
String::from_utf8_lossy(&output.stdout).to_string()
}

0 comments on commit 41e7bce

Please sign in to comment.