github chrisant996/clink v1.8.0

latest release: v1.8.1
17 hours ago
  • Added an interactive list mode for choosing from available suggestions. This is similar to PowerShell's "listview" mode.
    • Added a clink-toggle-suggestion-list command (F2 by default) which toggles the suggestion list mode on/off.
    • Added a suggestionlist.default setting which can make a Clink session start with the suggestion list mode on.
    • Added new color.suggestionlist* color settings for the suggestion list colors.
  • Added new Lua API clink.opensessionstream() which opens or creates a named in-memory stream that behaves like a Lua file handle and lasts for the duration of the Clink session, even when the Lua VM is restarted (such as by Ctrl-x,Ctrl-r).
  • Added debug.log_prompt setting which logs the raw prompt string generated by prompt filters.
  • Changed the clink-diagnostics command to analyze the whole prompt for ambiguous width Chinese, Japanese, and Korean characters (not just the last line of the prompt).
  • Fixed Esc to not ding every time (it was never meant to ding).
  • Fixed Ctrl-Break during the clink-select-complete command to only display one new prompt.
  • Fixed temporarily-missing timestamp in history popup after using the add-history command.
  • Fixed clink /?.
  • Fixed the operate-and-get-next command when the history.sticky_search setting is enabled (it fetched the same history entry each time).
  • Fixed a potential crash after Enter, due to Readline ending a prompt with inconsistent state left over.
  • Fixed two memory management issues in Readline undo handling, which in certain edge cases could potentially cause heap corruption.
  • Fixed #786; clink autorun claims the "AutoRun" reg key has a "current user" WOW64 key, but there's no such thing.
  • Minor improvement to error handling for certain failures in oh-my-posh.
  • Picked up fixes and changes from the Readline repo:
    • Breaking Change: The name for readline-colored-completion-prefix no longer has a leading ..
    • Sync with how the Readline repo picked up some fixes and changes contributed from the Clink repo.
    • Changes for Unicode combining characters.
    • Fixed some undo list memory management bugs; leaks and double-frees (i.e. heap corruption).
    • Fixed some use-after-free of the undo list errors when stacking multiple commands that use rl_maybe_replace_line() to save changes to a history entry.
    • Fixed the non-incremental history search implementation to make it more consistent with incremental search.
    • Fixed completion-prefix-display-length and colored-completion-prefix to be mutually exclusive.
    • Fixed a bug that allowed ^G to retain a saved command to execute.
    • Fixed macro recording during searches.
    • Fixed off-by-one error when tokenizing words like $((expr)) while performing history expansion.
    • Fixed to not check for signals when handling a received signal.
    • Fixed signal checking to handle signals that arrive before Readline restore's the application's signal handlers.
    • Fixed attempting to change case of invalid multibyte characters.
    • Fixed some small leaks in edge cases.

Don't miss a new clink release

NewReleases is sending notifications on new releases.