Commit 0c7392e
committed
fix: skip copy-on-select when search bar has focus
Navigating search results in the terminal causes xterm.js to change the
selection programmatically, which was triggering copy-on-select and
clobbering the clipboard. Skip the clipboard write when an element
inside .search-container is the active element.1 parent 7119970 commit 0c7392e
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
346 | 352 | | |
347 | 353 | | |
348 | 354 | | |
| |||
0 commit comments