Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.
Python agentsai-hackingai-penetration-testingai-pentestingai-securityartificial-intelligencebug-bountycode-qualityctf-toolscybersecuritycybersecurity-toolsethical-hackinghackingllm-securityoffensive-securitypenetration-testingpentesting-toolsred-teamingsecuritysecurity-automation
fix: Skip clipboard copy for whitespace-only selections
0xallam40cb7054948b
diff --git a/strix/interface/tui.py b/strix/interface/tui.pyindex e345f0c2..49a04894 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