diff options
-rw-r--r-- | src/grid.rs | 1 | ||||
-rw-r--r-- | src/row.rs | 2 | ||||
-rw-r--r-- | src/screen.rs | 1 |
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, @@ -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, |