aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-hex/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/atuin-hex/src/lib.rs')
-rw-r--r--crates/atuin-hex/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/atuin-hex/src/lib.rs b/crates/atuin-hex/src/lib.rs
index 0bfe54d8..f449a386 100644
--- a/crates/atuin-hex/src/lib.rs
+++ b/crates/atuin-hex/src/lib.rs
@@ -222,7 +222,7 @@ mod app {
fn handle_parser_msg(parser: &mut vt100::Parser, msg: ParserMsg) {
match msg {
ParserMsg::Data(data) => parser.process(&data),
- ParserMsg::Resize { rows, cols } => parser.set_size(rows, cols),
+ ParserMsg::Resize { rows, cols } => parser.screen_mut().set_size(rows, cols),
ParserMsg::ScreenRequest(reply_tx) => {
let _ = reply_tx.send(encode_screen(parser));
}