mirror of
https://github.com/wez/wezterm.git
synced 2024-12-25 14:22:37 +03:00
823213703c
This is defined as a trait method on Pane (default: false), and has the obvious transitive equivalent methods in Tab and Window (eg: if all contained items are `can_close_without_prompting`, then that container is also `can_close_without_prompting`). The intent is to avoid bothering the user to confirm closing a window when the content is not stateful and doesn't warrant it. For example: the window that is displayed in the event of a configuration error really shouldn't prompt to the user to confirm closing it. All termwiztermtab panes are `can_close_without_prompting==true` to effect this policy. In the future, we could teach LocalPane to lookup the session leader process against a list of "uninteresting" or "stateless" processes and return an appropriate result (as suggested in https://github.com/wez/wezterm/issues/280). That functionality is NOT part of this commit. |
||
---|---|---|
.. | ||
colorschemes | ||
config | ||
install | ||
screenshots | ||
_config.yml | ||
book.toml | ||
changelog.md | ||
contributing.md | ||
copymode.md | ||
custom.css | ||
escape-sequences.md | ||
faq.md | ||
features.md | ||
help.md | ||
hyperlinks.md | ||
imgcat.md | ||
index.md | ||
installation.md | ||
multiplexing.md | ||
scrollback.md | ||
serial.md | ||
shell-integration.md | ||
ssh.md |