aboutsummaryrefslogtreecommitdiff
path: root/include/ricochet/tui/view.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/ricochet/tui/view.hh')
-rw-r--r--include/ricochet/tui/view.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ricochet/tui/view.hh b/include/ricochet/tui/view.hh
index f5f33d4..cc1d0fd 100644
--- a/include/ricochet/tui/view.hh
+++ b/include/ricochet/tui/view.hh
@@ -64,6 +64,8 @@ struct ViewSnapshot
DraftRevision draft_revision {};
DisplayPosition cursor {};
DisplayPosition viewport_anchor {};
+ // Relative visual row for blank table space with no text at the exact top.
+ std::int64_t viewport_row_offset { 0 };
std::optional<SelectionSnapshot> selection {};
std::vector<HorizontalScroll> horizontal_scroll {};
SearchSnapshot search {};