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

An exception occurred in custom key handler #15

Open
woanware opened this issue Aug 3, 2023 · 2 comments
Open

An exception occurred in custom key handler #15

woanware opened this issue Aug 3, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@woanware
Copy link

woanware commented Aug 3, 2023

Hi,

Had the value shown below on the command line, then hit F7 which generated an error:

.\k

Error:

An exception occurred in custom key handler, see $error for more information: Invalid pattern '.\k' at offset 2. Malformed \\k<...> named back reference.
PS E:\Dev\Work> $error
Out-ConsoleGridView: Invalid pattern '.\k' at offset 2. Malformed \\k<...> named back reference.
Out-ConsoleGridView: Invalid pattern '.\Kusto' at offset 3. Unrecognized escape sequence \\K.
Out-ConsoleGridView: Invalid pattern '.\Kusto' at offset 3. Unrecognized escape sequence \\K.
.\kustoF7History: The term '.\kustoF7History' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Out-ConsoleGridView: Invalid pattern '.\kusto' at offset 4. Malformed \\k<...> named back reference.

Thanks!

@tig
Copy link
Collaborator

tig commented Aug 3, 2023

Can repo. Will dig into it asap. Thanks for the report.

@tig
Copy link
Collaborator

tig commented Nov 4, 2023

This should be fixed within OutConsoleGridView. I've filed a new issue for it here:

PowerShell/ConsoleGuiTools#225

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants