aboutsummaryrefslogtreecommitdiff
path: root/src/app/actions.rs
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-04-04 19:22:04 +0300
committerCan Celik <ogulcancelik@gmail.com>2026-04-05 01:23:06 +0300
commit41dd733ca7123c9ac4bfc6c781697a660e95b052 (patch)
tree3fc91815ca139ef2e0b281bba0abda4ef15175f4 /src/app/actions.rs
parent55c138263e190a1e79d4b997bfb9397306c0ec1f (diff)
feat: finish ghostty pane backend integration
Diffstat (limited to 'src/app/actions.rs')
-rw-r--r--src/app/actions.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/app/actions.rs b/src/app/actions.rs
index 777245da..340d3089 100644
--- a/src/app/actions.rs
+++ b/src/app/actions.rs
@@ -324,8 +324,7 @@ impl AppState {
None => return,
};
- if let Ok(parser) = rt.parser.read() {
- let text = crate::selection::extract_text(parser.screen(), sel);
+ if let Some(text) = rt.extract_selection(sel) {
if !text.is_empty() {
crate::selection::write_osc52(&text);
info!(len = text.len(), "copied selection to clipboard");