1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-20 11:17:15 +03:00

revise skip_close_confirmation_for_processes_named for Windows

closes: #843
This commit is contained in:
Wez Furlong 2021-06-10 07:38:28 -07:00
parent e41c23dd71
commit cc19aaca9f
3 changed files with 36 additions and 4 deletions

View File

@ -1157,10 +1157,20 @@ pub struct Config {
impl_lua_conversion!(Config);
fn default_stateless_process_list() -> Vec<String> {
["bash", "sh", "zsh", "fish", "tmux", "nu"]
.iter()
.map(|s| s.to_string())
.collect()
[
"bash",
"sh",
"zsh",
"fish",
"tmux",
"nu",
"cmd.exe",
"pwsh.exe",
"powershell.exe",
]
.iter()
.map(|s| s.to_string())
.collect()
}
fn default_status_update_interval() -> u64 {

View File

@ -37,6 +37,7 @@ As features stabilize some brief notes about them will accumulate here.
* New: `CTRL+SHIFT+L` is assigned to [ShowDebugOverlay](config/lua/keyassignment/ShowDebugOverlay.md) [#641](https://github.com/wez/wezterm/issues/641)
* Improved: antialiasing for undercurl. Thanks to [@ModProg](https://github.com/ModProg)! [#838](https://github.com/wez/wezterm/pull/838)
* Fixed: `wezterm start --cwd c:/` didn't run `default_prog`. Thanks to [@exactly-one-kas](https://github.com/exactly-one-kas)! [#851](https://github.com/wez/wezterm/pull/851)
* Improved: [skip_close_confirmation_for_processes_named](config/lua/config/skip_close_confirmation_for_processes_named.md) now includes common windows shell processes `cmd.exe`, `pwsh.exe` and `powershell.exe`. [#843](https://github.com/wez/wezterm/issues/843)
### 20210502-154244-3f7122cb

View File

@ -23,3 +23,24 @@ return {
}
}
```
*Since: nightly builds only*:
The default value for this setting now includes some
windows shell processes:
```
return {
skip_close_confirmation_for_processes_named = {
"bash",
"sh",
"zsh",
"fish",
"tmux",
"nu",
"cmd.exe",
"pwsh.exe",
"powershell.exe"
}
}
```