1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-27 02:25:28 +03:00

apply reloaded config to all panes, regardless of zoom state

refs: https://github.com/wez/wezterm/issues/3259
This commit is contained in:
Wez Furlong 2023-03-16 09:31:32 -07:00
parent 4576f46828
commit 88e53a5f11
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387
2 changed files with 3 additions and 1 deletions

View File

@ -129,6 +129,8 @@ As features stabilize some brief notes about them will accumulate here.
[#3095](https://github.com/wez/wezterm/issues/3095)
* Panic when decoding animated webp images
[#3250](https://github.com/wez/wezterm/issues/3250)
* Config was not applied to non-zoomed panes when config was reloaded
[#3259](https://github.com/wez/wezterm/issues/3259)
#### Changed
* `CTRL-SHIFT-P` now activates the new [command

View File

@ -1613,7 +1613,7 @@ impl TermWindow {
let term_config: Arc<dyn TerminalConfiguration> =
Arc::new(TermConfig::with_config(config.clone()));
for tab in window.iter() {
for pane in tab.iter_panes() {
for pane in tab.iter_panes_ignoring_zoom() {
pane.pane.set_config(Arc::clone(&term_config));
}
}