summaryrefslogtreecommitdiffstats
path: root/src/grid/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/grid/mod.rs')
-rw-r--r--src/grid/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/grid/mod.rs b/src/grid/mod.rs
index f1cec329..3495be1d 100644
--- a/src/grid/mod.rs
+++ b/src/grid/mod.rs
@@ -89,9 +89,11 @@ pub struct Grid<T> {
/// If the displayed region isn't at the bottom of the screen, it stays
/// stationary while more text is emitted. The scrolling implementation
/// updates this offset accordingly.
+ #[serde(default)]
display_offset: usize,
/// An limit on how far back it's possible to scroll
+ #[serde(default)]
scroll_limit: usize,
/// Selected region