Skip to content

Releases: waf/PrettyPrompt

v6.0.4

Choose a tag to compare

@github-actions github-actions released this 28 Jun 16:11
  • Support "complex" completion items that rewrite a larger region of the document than the typed word (and reposition the caret) (304).
  • Improve handling of up/down arrows when navigating within wrapped text (remove clash with navigating prev/next through history) (305).

v6.0.3

Choose a tag to compare

@github-actions github-actions released this 26 Jun 14:55
  • Fix reformat-on-submit: when a FormatInput callback reformats the document on the same keystroke that submits the prompt, the returned PromptResult (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 AnsiColor with a static frozen dictionary, improving trimming/AOT friendliness and avoiding reflection at startup (#303).
  • Update build dependencies (Microsoft.SourceLink.GitHub) (#302).

v6.0.2

Choose a tag to compare

@github-actions github-actions released this 17 Jun 12:27
  • Fix broken completion list rendering when the prompt starts near the bottom of the window on macOS/Linux (#395).
  • If clipboard operations throw an exception on linux, don't throw an exception (#300).

v6.0.1

Choose a tag to compare

@github-actions github-actions released this 13 Jun 07:57
  • Improve macOS and Linux key handling (#297).
  • Additional macOS keybinding and general typing improvements (#298).

v6.0.0

Choose a tag to compare

@github-actions github-actions released this 12 Jun 15:55
  • Breaking change (Windows behavior): the DISABLE_NEWLINE_AUTO_RETURN console mode is now only active while ReadLineAsync is rendering, instead of being enabled process-wide by the Prompt constructor.
    • 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" (or Environment.NewLine) are unaffected, but code that relied on the line-feed-only semantics between prompts must now call the new IConsole.SetNewlineAutoReturn(false) itself.
  • Fix ArgumentOutOfRangeException crash 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

Choose a tag to compare

@github-actions github-actions released this 07 Jun 07:17
  • Add CompletionWindowOpenedAsync and CompletionWindowClosedAsync callbacks to PromptCallbacks, invoked when the completion window opens and closes (#293).
  • Unicode handling improvements:
    • Handle variant selector 16 (VS16), so the preceding character is measured as a full-width emoji (#292).
    • Handle spacing grapheme extenders U+FF9E–U+FF9F (halfwidth katakana voiced sound marks) (#294).

v5.0.1

Choose a tag to compare

@github-actions github-actions released this 04 Jun 16:30
  • Syntax highlighting improvements: better unicode support and highlighting-across-newline handling