aboutsummaryrefslogtreecommitdiff
path: root/src/layout.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout.rs')
-rw-r--r--src/layout.rs3
1 files changed, 2 insertions, 1 deletions
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<Rect>,
pub is_focused: bool,
}