aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/grid.rs1
-rw-r--r--src/row.rs2
-rw-r--r--src/screen.rs1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/grid.rs b/src/grid.rs
index b277e34..a5bca31 100644
--- a/src/grid.rs
+++ b/src/grid.rs
@@ -1,3 +1,4 @@
+#[derive(Clone, Debug)]
pub struct Grid {
size: Size,
pos: Pos,
diff --git a/src/row.rs b/src/row.rs
index 38b8eb3..220cc0c 100644
--- a/src/row.rs
+++ b/src/row.rs
@@ -1,6 +1,6 @@
use std::convert::TryInto as _;
-#[derive(Clone)]
+#[derive(Clone, Debug)]
pub struct Row {
cells: Vec<crate::cell::Cell>,
wrapped: bool,
diff --git a/src/screen.rs b/src/screen.rs
index 6a4a399..1aa9321 100644
--- a/src/screen.rs
+++ b/src/screen.rs
@@ -69,6 +69,7 @@ impl Default for MouseProtocolEncoding {
}
}
+#[derive(Clone, Debug)]
pub struct Screen {
grid: crate::grid::Grid,
alternate_grid: crate::grid::Grid,