From 41dd733ca7123c9ac4bfc6c781697a660e95b052 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Sat, 4 Apr 2026 19:22:04 +0300 Subject: feat: finish ghostty pane backend integration --- src/app/actions.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/app/actions.rs') 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"); -- cgit v1.2.3