aboutsummaryrefslogtreecommitdiff
path: root/src/app/input/copy_mode.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-25 02:40:27 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-25 02:54:20 +0300
commitb33e5f973fc89381aa4ac72b3a31fa087ec66e23 (patch)
tree454d9b504987052619d38157fbf7c8eb8eaff5d6 /src/app/input/copy_mode.rs
parent0065a0ef344237c4e52bf391646e7495258ee180 (diff)
fix: copy retained mouse selections with keyboard shortcuts
refs #1782
Diffstat (limited to 'src/app/input/copy_mode.rs')
-rw-r--r--src/app/input/copy_mode.rs10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/app/input/copy_mode.rs b/src/app/input/copy_mode.rs
index e6c0d074..6c967133 100644
--- a/src/app/input/copy_mode.rs
+++ b/src/app/input/copy_mode.rs
@@ -22,15 +22,7 @@ impl App {
}
self.state
.handle_copy_mode_key(&self.terminal_runtimes, key);
- if let Some(content) = self.state.request_clipboard_write.take() {
- if self
- .event_tx
- .try_send(crate::events::AppEvent::ClipboardWrite { content })
- .is_err()
- {
- tracing::warn!("failed to queue clipboard write event");
- }
- }
+ self.dispatch_pending_clipboard_write();
}
}