on master help sign in
Add wezterm to get_terminal_provider (#3588)

https://github.com/wez/wezterm is a terminal emulator with its own built-in multiplexer

commit51b62230da81913564692482d8f365e27d6f6cec authorunrelentingtech <hello@unrelenting.technology> dateMon 29 Aug 2022, 03:24 (4 years ago) parenteeb0a9f
1 file changed+7
helix-view/src/editor.rs+7
helix-view/src/editor.rs+7
@@ -211,6 +211,13 @@ pub fn get_terminal_provider() -> Option<TerminalConfig> {
211211 });
212212 }
213213
214+ if env_var_is_set("WEZTERM_UNIX_SOCKET") && exists("wezterm") {
215+ return Some(TerminalConfig {
216+ command: "wezterm".to_string(),
217+ args: vec!["cli".to_string(), "split-pane".to_string()],
218+ });
219+ }
220+
214221 None
215222}
216223