Releases: waf/PrettyPrompt
Releases · waf/PrettyPrompt
Release list
v6.0.4
v6.0.3
- Fix reformat-on-submit: when a
FormatInputcallback reformats the document on the same keystroke that submits the prompt, the returnedPromptResult(and the persisted history entry) now contains the formatted text instead of the pre-format snapshot, and the on-screen line is repainted to match (#301, CSharpRepl #356). - Replace the reflection-based color-name lookup in
AnsiColorwith a static frozen dictionary, improving trimming/AOT friendliness and avoiding reflection at startup (#303). - Update build dependencies (
Microsoft.SourceLink.GitHub) (#302).
v6.0.2
v6.0.1
v6.0.0
- Breaking change (Windows behavior): the
DISABLE_NEWLINE_AUTO_RETURNconsole mode is now only active whileReadLineAsyncis rendering, instead of being enabled process-wide by thePromptconstructor.- Previously, any
"\n"the host application wrote to stdout between prompts performed a line feed without returning the cursor to the first column. Such output now renders normally. - Applications that compensated by writing
"\r\n"(orEnvironment.NewLine) are unaffected, but code that relied on the line-feed-only semantics between prompts must now call the newIConsole.SetNewlineAutoReturn(false)itself.
- Previously, any
- Fix
ArgumentOutOfRangeExceptioncrash when the overload (signature help) pane and the completion pane are open with exactly equal widths and no documentation pane is visible.
v5.0.2
- Add
CompletionWindowOpenedAsyncandCompletionWindowClosedAsynccallbacks toPromptCallbacks, invoked when the completion window opens and closes (#293). - Unicode handling improvements:
v5.0.1
- Syntax highlighting improvements: better unicode support and highlighting-across-newline handling