Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keys being relayed/escaped improperly to the shell #186

Open
brian6932 opened this issue Oct 19, 2024 · 0 comments
Open

Keys being relayed/escaped improperly to the shell #186

brian6932 opened this issue Oct 19, 2024 · 0 comments

Comments

@brian6932
Copy link

Currently when I send keys through PowerSession recordings, these returned as text instead of escaped:

Key Shell
F1 OP
F2 OQ
F3 OR
F4 OS
F5 [15~
F6 [17~
F7 [18~
F8 [19~
F9 [20~
F10 [21~
F11 [23~
F12 [24~
[A
[B
[D
[C
Home [H
End [F

It seems like PgUp & PgDn don't get relayed properly to TUI programs for me (even when running them as a child of the current shell), but works fine in my shell.

❯ powersession --version
PowerSession 0.1.11

❯ cargo install --list | rg powersession -i
PowerSession v0.1.11 (https://github.com/Watfaq/PowerSession-rs#75495685):
    PowerSession.exe$_=Get-ItemProperty 'HKLM:/SOFTWARE/Microsoft/Windows NT/CurrentVersion';$_.CurrentMajorVersionNumber.ToString()+'.'+$_.CurrentMinorVersionNumber.ToString()+'.'+$_.CurrentBuild+'.'+$_.UBR
10.0.19044.5011

❯ pwsh --version
PowerShell 7.5.0-preview.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant