aboutsummaryrefslogtreecommitdiff
path: root/src/app/input/mouse.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-06 17:41:44 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-06 17:42:38 +0300
commit4001fd2ec8ff05a982da18744b8cbde9df3ab530 (patch)
treef8dbf984cff9a4b025e86481d3f70c89322bd79f /src/app/input/mouse.rs
parent048d8a29195d580014b24ee3fc7e89ac6bdfee8a (diff)
feat: improve toast ergonomics
refs #486
Diffstat (limited to 'src/app/input/mouse.rs')
-rw-r--r--src/app/input/mouse.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/input/mouse.rs b/src/app/input/mouse.rs
index 9272c279..ae10c0fa 100644
--- a/src/app/input/mouse.rs
+++ b/src/app/input/mouse.rs
@@ -2244,6 +2244,7 @@ mod tests {
app.state.active = Some(0);
app.state.selected = 0;
app.state.toast_config.delivery = crate::config::ToastDelivery::Herdr;
+ app.state.toast_config.delay_seconds = 0;
let target_terminal_id = app.state.workspaces[1]
.panes
.get(&target_pane)
@@ -2305,6 +2306,7 @@ mod tests {
kind: crate::app::state::ToastKind::Finished,
title: "pi finished".into(),
context: "background ยท 2".into(),
+ position: None,
target: Some(crate::app::state::ToastTarget {
workspace_id,
pane_id: target_pane,