Commit 1fc76e5
fix(tui): enable right-click copy anywhere when text is selected (#355)
Previously, right-click copy only worked when clicking within a registered
click zone. This fix ensures that when text is selected (via left-click drag),
right-clicking anywhere on the screen will copy the selected text to clipboard.
This matches the expected behavior in terminal emulators where right-click
should copy selected text regardless of where the click lands.
Co-authored-by: Droid Agent <droid@factory.ai>1 parent 4083bf2 commit 1fc76e5
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8778 | 8778 | | |
8779 | 8779 | | |
8780 | 8780 | | |
| 8781 | + | |
| 8782 | + | |
| 8783 | + | |
| 8784 | + | |
| 8785 | + | |
| 8786 | + | |
| 8787 | + | |
| 8788 | + | |
| 8789 | + | |
8781 | 8790 | | |
8782 | 8791 | | |
8783 | 8792 | | |
| |||
0 commit comments