Add wezterm to get_terminal_provider (#3588)

https://github.com/wez/wezterm is a terminal emulator with its own built-in multiplexer
pull/3273/merge
unrelentingtech 2 years ago committed by GitHub
parent eeb0a9f504
commit 51b62230da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -211,6 +211,13 @@ pub fn get_terminal_provider() -> Option<TerminalConfig> {
});
}
if env_var_is_set("WEZTERM_UNIX_SOCKET") && exists("wezterm") {
return Some(TerminalConfig {
command: "wezterm".to_string(),
args: vec!["cli".to_string(), "split-pane".to_string()],
});
}
None
}

Loading…
Cancel
Save