diff --git a/strix/interface/tui.py b/strix/interface/tui.py index e345f0c..49a0489 100644 --- a/strix/interface/tui.py +++ b/strix/interface/tui.py @@ -2032,7 +2032,7 @@ class StrixTUIApp(App): # type: ignore[misc] if self.screen.selections: selected = self.screen.get_selected_text() self.screen.clear_selection() - if selected: + if selected and selected.strip(): cleaned = self._clean_copied_text(selected) self.copy_to_clipboard(cleaned if cleaned.strip() else selected) copied = True