aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-hex/src/lib.rs
diff options
context:
space:
mode:
authorMichelle Tilley <michelle@michelletilley.net>2026-04-10 13:24:57 -0700
committerGitHub <noreply@github.com>2026-04-10 20:24:57 +0000
commit09279a428659cf41824737d3e0c97bcc19a8885a (patch)
tree64731502c065df2483e8dd680d46c5559f3094f2 /crates/atuin-hex/src/lib.rs
parentfeat: add strip_trailing_whitespace, on by default (#3390) (diff)
downloadatuin-09279a428659cf41824737d3e0c97bcc19a8885a.zip
feat: Client-tool execution + permission system (#3370)
Adds client-side tool execution to Atuin AI, starting with `atuin_history`. The server can request tool calls, which are executed locally with a permission system, and results are sent back to continue the conversation.
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));
}