1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 14:22:37 +03:00
wezterm/docs
Wez Furlong 823213703c mux: introduce can_close_without_prompting concept to model
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.
2021-02-27 09:03:13 -08:00
..
colorschemes colors: set cursor border to bg in the color schemes 2020-10-27 09:17:20 -07:00
config docs: fix a typo, expand exit_behavior example 2021-02-27 00:24:23 -08:00
install update for rename of master branch -> main 2021-02-03 21:34:12 -08:00
screenshots docs: document foreground_text_hsb 2021-02-20 11:24:10 -08:00
_config.yml docs: switch to the "Hacker" theme which is darker 2019-12-18 09:25:36 -08:00
book.toml Revert "ci: disable mdbook-linkcheck" 2021-02-24 09:28:00 -08:00
changelog.md mux: introduce can_close_without_prompting concept to model 2021-02-27 09:03:13 -08:00
contributing.md docs: upgrade to mdbook 0.4, enable link checking 2021-01-30 14:14:29 -08:00
copymode.md docs: upgrade to mdbook 0.4, enable link checking 2021-01-30 14:14:29 -08:00
custom.css style download buttons a bit better 2019-12-29 21:39:23 -08:00
escape-sequences.md docs: note about OSC 9 and OSC 777 toast notification support 2021-02-23 09:18:23 -08:00
faq.md docs: upgrade to mdbook 0.4, enable link checking 2021-01-30 14:14:29 -08:00
features.md docs: upgrade to mdbook 0.4, enable link checking 2021-01-30 14:14:29 -08:00
help.md docs: upgrade to mdbook 0.4, enable link checking 2021-01-30 14:14:29 -08:00
hyperlinks.md docs: upgrade to mdbook 0.4, enable link checking 2021-01-30 14:14:29 -08:00
imgcat.md docs: upgrade to mdbook 0.4, enable link checking 2021-01-30 14:14:29 -08:00
index.md docs: upgrade to mdbook 0.4, enable link checking 2021-01-30 14:14:29 -08:00
installation.md docs: upgrade to mdbook 0.4, enable link checking 2021-01-30 14:14:29 -08:00
multiplexing.md docs: document various missing things 2021-02-20 10:40:26 -08:00
scrollback.md docs: fix link to ClearScrollback 2021-02-20 08:44:39 -08:00
serial.md docs: upgrade to mdbook 0.4, enable link checking 2021-01-30 14:14:29 -08:00
shell-integration.md update for rename of master branch -> main 2021-02-03 21:34:12 -08:00
ssh.md docs: upgrade to mdbook 0.4, enable link checking 2021-01-30 14:14:29 -08:00