aboutsummaryrefslogtreecommitdiff
path: root/src/pane/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/pane/state.rs')
-rw-r--r--src/pane/state.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pane/state.rs b/src/pane/state.rs
index be7ebfae..9a733c29 100644
--- a/src/pane/state.rs
+++ b/src/pane/state.rs
@@ -8,6 +8,8 @@ pub struct PaneState {
/// Whether the user has seen this pane since its last state change to Idle.
/// False = "Done" (agent finished while user was in another workspace).
pub seen: bool,
+ /// Whether unmodified right-click gestures should be forwarded to the pane application.
+ pub right_click_passthrough: bool,
}
impl PaneState {
@@ -15,6 +17,7 @@ impl PaneState {
Self {
attached_terminal_id,
seen: true,
+ right_click_passthrough: false,
}
}
}