summaryrefslogtreecommitdiff
path: root/net-im/signal-desktop/files/patch-ts_components_SearchInput.dom.tsx
blob: de3c4fb0d787db9afdc68802c7e33b7b884aac20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ts/components/SearchInput.dom.tsx.orig	2022-12-04 09:59:26 UTC
+++ ts/components/SearchInput.dom.tsx
@@ -67,7 +67,7 @@ export const SearchInput = forwardRef<HTMLInputElement
             const { ctrlKey, key } = event;
 
             // On Linux, this key combo selects all text.
-            if (window.platform === 'linux' && ctrlKey && key === '/') {
+            if ((window.platform === 'freebsd' || window.platform === 'linux') && ctrlKey && key === '/') {
               event.preventDefault();
               event.stopPropagation();
             } else if (key === 'Escape' && onClear) {