diff options
| author | JJ Liebig <jonathan.liebig@gmail.com> | 2026-09-20 00:21:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-20 00:21:32 +0200 |
| commit | 9d29441a84858780f80ff1bc35ce9c0c5f43b0c9 (patch) | |
| tree | a8754c76363bec0b5f5421416067f9a8421d027b /scripts/windows_input/Common.ps1 | |
| parent | 856b64b9bfd41b9d3d82e2375ed5b4bf941fda28 (diff) | |
test(windows): distinguish clipboard paste origin in input gauntlet (#4394)
* test(windows): distinguish clipboard paste origin in input gauntlet
refs #4314
* test(windows): correct gauntlet paste-origin evidence
refs #4314
Diffstat (limited to 'scripts/windows_input/Common.ps1')
| -rw-r--r-- | scripts/windows_input/Common.ps1 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/windows_input/Common.ps1 b/scripts/windows_input/Common.ps1 index d944e87b..1fd4943f 100644 --- a/scripts/windows_input/Common.ps1 +++ b/scripts/windows_input/Common.ps1 @@ -41,6 +41,12 @@ function New-GauntletProcess($Exe, $Arguments, $Plan, [switch] $Capture) { $info.Environment['HERDR_SESSION'] = $Plan.session if ($Plan.profile -ne 'default') { $info.Environment['HERDR_WINDOWS_INPUT_PROBE'] = $Plan.profile } if ($Plan.path -in @('herdr', 'herdr-remote')) { $info.Environment['HERDR_WINDOWS_INPUT_TRACE_FILE'] = $Plan.input_trace } + if ($Plan.path -in @('herdr', 'herdr-remote')) { + # Enable the mapper's client-event trace so a report can distinguish a + # terminal-issued paste from a bridge reaction (see README, #4314). + $info.Environment['HERDR_WINDOWS_INPUT_TRACE'] = '1' + $info.Environment['HERDR_LOG'] = 'herdr=info' + } if ($Plan.path -eq 'herdr-remote') { $info.Environment['HERDR_REMOTE_KEYBINDINGS'] = 'local' } |
