aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-hex
diff options
context:
space:
mode:
Diffstat (limited to 'crates/atuin-hex')
-rw-r--r--crates/atuin-hex/Cargo.toml2
-rw-r--r--crates/atuin-hex/src/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/atuin-hex/Cargo.toml b/crates/atuin-hex/Cargo.toml
index 8a574a55..9625f67d 100644
--- a/crates/atuin-hex/Cargo.toml
+++ b/crates/atuin-hex/Cargo.toml
@@ -18,4 +18,4 @@ crossterm = { workspace = true }
eyre = { workspace = true }
portable-pty = "0.8"
signal-hook = "0.3"
-vt100 = "0.15"
+vt100 = { workspace = true }
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));
}