diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-07 00:04:32 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-07 00:04:32 +0300 |
| commit | a51902ede97afd84b469f838f25ab79287bd375d (patch) | |
| tree | 986cf68f33370450eae9152ac3c2015aeebe5882 /src/app/state.rs | |
| parent | 6ccf156a3dd23f419c03892ddc1136e72957f66a (diff) | |
fix: use byte-based pane scrollback limit
Diffstat (limited to 'src/app/state.rs')
| -rw-r--r-- | src/app/state.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/state.rs b/src/app/state.rs index 84920131..a0955a16 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -601,6 +601,7 @@ pub struct AppState { pub sidebar_collapsed: bool, pub agent_panel_scope: AgentPanelScope, pub confirm_close: bool, + pub pane_scrollback_limit_bytes: usize, #[allow(dead_code)] // kept for backward compat; palette.accent is the source of truth pub accent: Color, pub sound: SoundConfig, @@ -710,6 +711,7 @@ impl AppState { sidebar_collapsed: false, agent_panel_scope: AgentPanelScope::CurrentWorkspace, confirm_close: true, + pane_scrollback_limit_bytes: crate::config::DEFAULT_SCROLLBACK_LIMIT_BYTES, accent: Color::Cyan, sound: SoundConfig { enabled: false, |
