Add wezterm to get_terminal_provider (#3588)
https://github.com/wez/wezterm is a terminal emulator with its own built-in multiplexer
This commit is contained in:
parent
eeb0a9f504
commit
51b62230da
1 changed files with 7 additions and 0 deletions
|
@ -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…
Reference in a new issue