hex/tests/golden/rune-linux-labs-light.png
Dax b1a37aaa78
Labs: terminal paste shortcut on Windows and Linux (#1534)
* Add Labs terminal paste shortcut for Windows and Linux

* fix windows build: drop the unused key_down from input/modifiers

* allow the terminal-paste shortcut code to go unused on macos

* mask the second shortcut's menu modifier on auto-repeats

the mask was only set on the first press, so process_button cleared it on each
repeat key-down and a held capture over the repeat delay leaked a bare alt/win
release. set it on every trigger key-down like the dictation key and paste
last do.

* keep side_matches private

* keep the shortcut and dictation helpers under the source cap

windows/dictation.rs, rune_ui/general.rs, and linux/dictation.rs crossed 1,500
non-test lines after the rebase. move the registered-shortcut tables and the
General pane's shortcut rows into submodules, and refresh the Linux Labs
golden for Transform typed text and Terminal paste shortcut.

* call the global setting Terminal paste in typed text's refusal

the lab now owns the name Terminal paste shortcut, so the typed-text errors
and log line must name the global paste_with_shift setting instead.

* drop the terminal paste lab's unused encoded bit

no accessor reads it and no other lab has a bit without a reader; the feature
reads its saved switch directly through Feature::on.

* raw dictation has a hex command; the terminal paste shortcut does not
2026-11-08 07:30:29 -05:00

238 KiB
1960x1520px