mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
Changes: https://github.com/signalapp/Signal-Desktop/releases/tag/v5.57.0 https://github.com/signalapp/Signal-Desktop/releases/tag/v5.61.0 https://github.com/signalapp/Signal-Desktop/releases/tag/v5.61.1 https://github.com/signalapp/Signal-Desktop/releases/tag/v5.62.0 https://github.com/signalapp/Signal-Desktop/releases/tag/v6.0.0 https://github.com/signalapp/Signal-Desktop/releases/tag/v6.1.0
11 lines
593 B
TypeScript
11 lines
593 B
TypeScript
--- ts/components/SearchInput.tsx.orig 2022-12-04 09:59:26 UTC
|
|
+++ ts/components/SearchInput.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) {
|