aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/signal-desktop/files/patch-ts_components_SearchInput.dom.tsx
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /net-im/signal-desktop/files/patch-ts_components_SearchInput.dom.tsx
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'net-im/signal-desktop/files/patch-ts_components_SearchInput.dom.tsx')
-rw-r--r--net-im/signal-desktop/files/patch-ts_components_SearchInput.dom.tsx11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-im/signal-desktop/files/patch-ts_components_SearchInput.dom.tsx b/net-im/signal-desktop/files/patch-ts_components_SearchInput.dom.tsx
new file mode 100644
index 000000000000..de3c4fb0d787
--- /dev/null
+++ b/net-im/signal-desktop/files/patch-ts_components_SearchInput.dom.tsx
@@ -0,0 +1,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) {