diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-08-08 16:26:47 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-08 16:26:47 +0300 |
| commit | 10974c822d607f03e20e9741ec027910f0c1f93a (patch) | |
| tree | 85453f5ba5bcfcc56c37cabdbbced8a7e701cbe3 /src/pane | |
| parent | 1d6d1fdc6ba8a4fd0385a2071f157504871201a2 (diff) | |
feat(input): add per-pane right-click routing (#2504)
Diffstat (limited to 'src/pane')
| -rw-r--r-- | src/pane/state.rs | 3 |
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, } } } |
