Skip to content

fix(hook): keep the PowerShell engine history as typed - #48

Merged
NaNIsaac merged 1 commit into
mainfrom
fix/ps-history-as-typed
Oct 26, 2026
Merged

NaNIsaac merged 1 commit into
mainfrom
fix/ps-history-as-typed

Conversation

@NaNIsaac

Copy link
Copy Markdown
Owner

The engine records the line handed to it, so history and r showed
every captured command as . __cdg { ... }. Before each prompt the hook
now replaces that last entry with the line as typed, keeping its status and
times. PSReadLine history was already as typed.

The engine records the line handed to it, so `history` and `r` showed
every captured command as `. __cdg { ... }`. Before each prompt the hook
now replaces that last entry with the line as typed, keeping its status and
times. PSReadLine history was already as typed.
@NaNIsaac
NaNIsaac merged commit 83b960e into main Oct 26, 2026
8 checks passed
@NaNIsaac
NaNIsaac deleted the fix/ps-history-as-typed branch October 26, 2026 20:58
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

Successfully merging this pull request may close these issues.

1 participant