diff options
Diffstat (limited to 'src/app/config_io.rs')
| -rw-r--r-- | src/app/config_io.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app/config_io.rs b/src/app/config_io.rs index 36f44b9a..fa2765e9 100644 --- a/src/app/config_io.rs +++ b/src/app/config_io.rs @@ -86,6 +86,14 @@ impl App { } } + pub(super) fn save_pane_history_persistence(&mut self, enabled: bool) { + if self.update_config_file("pane screen history", |content| { + crate::config::upsert_section_bool(content, "experimental", "pane_history", enabled) + }) { + self.apply_config_from_disk(false); + } + } + pub(super) fn save_agent_panel_scope(&mut self, scope: crate::app::state::AgentPanelScope) { let value = match scope { crate::app::state::AgentPanelScope::CurrentWorkspace => { |
