move selection to screen

This commit is contained in:
Mitchell Hashimoto
2023-03-21 10:43:50 -07:00
parent 88a7b3067a
commit dfb40426a0
5 changed files with 26 additions and 27 deletions

View File

@@ -774,6 +774,9 @@ cursor: Cursor = .{},
/// Saved cursor saved with DECSC (ESC 7).
saved_cursor: Cursor = .{},
/// The selection for this screen (if any).
selection: ?Selection = null,
/// Initialize a new screen.
pub fn init(
alloc: Allocator,