From b83737bddb369777412a2e05c3bdd3518f49d122 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Wed, 6 May 2026 20:59:57 +0300 Subject: fix: keep pane scrollbar gutter stable --- src/layout.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/layout.rs') diff --git a/src/layout.rs b/src/layout.rs index 56254f04..be407589 100644 --- a/src/layout.rs +++ b/src/layout.rs @@ -32,7 +32,8 @@ pub struct PaneInfo { pub rect: Rect, /// Inner rect (content area, excluding borders). Used for selection. pub inner_rect: Rect, - /// Reserved scrollbar lane, when scrollback is visible. + /// Visible scrollbar lane, when scrollback is present. `inner_rect` may still + /// exclude a stable hidden gutter when this is `None`. pub scrollbar_rect: Option, pub is_focused: bool, } -- cgit v1.2.3