summaryrefslogtreecommitdiff
path: root/scripts/windows_input/Common.ps1
diff options
context:
space:
mode:
authorJJ Liebig <jonathan.liebig@gmail.com>2026-09-18 15:18:23 +0200
committerGitHub <noreply@github.com>2026-09-18 15:18:23 +0200
commit68dd6edaa20a0f75f9ed4cf375492ae5cfd2c336 (patch)
tree7669b0622cf7bb1311d819589573e107f74cf027 /scripts/windows_input/Common.ps1
parent7201907b654aefdb9b636b17ea7ca3cddc873d7b (diff)
test(windows): qualify remote clipboard image paste (#4324)
* test(windows): qualify remote clipboard image paste refs #4314 * test(windows): verify staged clipboard image contents refs #4314 * test(windows): safely clean failed clipboard leases refs #4314
Diffstat (limited to 'scripts/windows_input/Common.ps1')
-rw-r--r--scripts/windows_input/Common.ps15
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/windows_input/Common.ps1 b/scripts/windows_input/Common.ps1
index 537b66ae..d944e87b 100644
--- a/scripts/windows_input/Common.ps1
+++ b/scripts/windows_input/Common.ps1
@@ -40,7 +40,10 @@ function New-GauntletProcess($Exe, $Arguments, $Plan, [switch] $Capture) {
$info.Environment['XDG_CONFIG_HOME'] = $Plan.config_home
$info.Environment['HERDR_SESSION'] = $Plan.session
if ($Plan.profile -ne 'default') { $info.Environment['HERDR_WINDOWS_INPUT_PROBE'] = $Plan.profile }
- if ($Plan.path -eq 'herdr') { $info.Environment['HERDR_WINDOWS_INPUT_TRACE_FILE'] = $Plan.input_trace }
+ if ($Plan.path -in @('herdr', 'herdr-remote')) { $info.Environment['HERDR_WINDOWS_INPUT_TRACE_FILE'] = $Plan.input_trace }
+ if ($Plan.path -eq 'herdr-remote') {
+ $info.Environment['HERDR_REMOTE_KEYBINDINGS'] = 'local'
+ }
}
$info.RedirectStandardOutput = $Capture.IsPresent
$info.RedirectStandardError = $Capture.IsPresent