Skip to content

Releases: chrisant996/clink

v1.9.30

Choose a tag to compare

@chrisant996 chrisant996 released this 20 Jul 06:01

Recent Breaking Change

  • Breaking Change: the "gray text" auto-suggestions display is now off by default, due to too many complaints and frustration and support cost.
    • The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via clink set suggestionlist.default true.
    • The "gray text" or "inline" auto-suggestions display can be turned on again via clink set autosuggest.inline true if preferred.

v1.9.30

  • Added new Lua API rl.issuggestionlistactive() which returns whether the suggestion list is currently active.
  • Fixed to not show suggestions if the input line contains only space characters.
  • Fixed clink.onfiltermatches() events (regression introduced in v1.9.26).

v1.9.29

Choose a tag to compare

@chrisant996 chrisant996 released this 11 Jul 22:54

Recent Breaking Change

  • Breaking Change: the "gray text" auto-suggestions display is now off by default, due to too many complaints and frustration and support cost.
    • The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via clink set suggestionlist.default true.
    • The "gray text" or "inline" auto-suggestions display can be turned on again via clink set autosuggest.inline true if preferred.

v1.9.29

  • Added new Lua APIs to query Readline's kill-ring (see rl.getkillringcount() and etc).
  • Changed oh-my-posh.clinkprompt to work around an issue where in error cases oh-my-posh can accidentally emit a bash script instead of a Lua script.
  • Fixed how popup lists distributed column widths when fitting them into the terminal width; they were meant to be distributed evenly but were accidentally skewed.
  • Fixed macro text limit in rl.getkeybindings(); it was being limited as though the clink-help command was invoked, but the Lua function should use a different limit.
  • Fixed display of prompt lines that contain an embedded EL (Erase in Line) escape sequence; appending an EL to a line that already contains an EL is unnecessary and can accidentally erase a background color intentionally applied by the line.
  • Fixed flickering input hint line during prompt animation (e.g. clink-flex-prompt's animation during asynchronous prompt filtering).
  • Fixed #883; the FTSC 133;D code was emitted too early and contained a mismatched exit code.

v1.9.28

Choose a tag to compare

@chrisant996 chrisant996 released this 25 Jun 17:36

Recent Breaking Change

  • Breaking Change: the "gray text" auto-suggestions display is now off by default, due to too many complaints and frustration and support cost.
    • The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via clink set suggestionlist.default true.
    • The "gray text" or "inline" auto-suggestions display can be turned on again via clink set autosuggest.inline true if preferred.

v1.9.28

  • Fixed a case where clink-select-complete could accidentally wrap long matches with descriptions instead of truncating them.
  • Fixed a case where clink-select-complete could get confused about how many matches it meant to print per line when showing descriptions inline (especially when using a wide terminal window).

v1.9.27

Choose a tag to compare

@chrisant996 chrisant996 released this 20 Jun 21:56

Recent Breaking Change

  • Breaking Change: the "gray text" auto-suggestions display is now off by default, due to too many complaints and frustration and support cost.
    • The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via clink set suggestionlist.default true.
    • The "gray text" or "inline" auto-suggestions display can be turned on again via clink set autosuggest.inline true if preferred.

v1.9.27

  • Added new suggestionlist.max_width setting to override the default width of the suggestion list.
  • Changed clink.onhistory() to let the handler function return a string to override what is saved to history.
  • Fixed scrolling jitter while trying to scroll the legacy conhost terminal while Lua scripts are trying to refresh the prompt in the background (e.g. async prompt filtering or animated prompts); refreshing the prompt is paused while the legacy conhost terminal is scrolled, and resumes after the prompt and input line are fully visible again.
  • Fixed #879; prompt filter failed in a directory with empty .git subdirectory.

v1.9.26

Choose a tag to compare

@chrisant996 chrisant996 released this 08 Jun 05:56

Recent Breaking Change

  • Breaking Change: the "gray text" auto-suggestions display is now off by default, due to too many complaints and frustration and support cost.
    • The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via clink set suggestionlist.default true.
    • The "gray text" or "inline" auto-suggestions display can be turned on again via clink set autosuggest.inline true if preferred.

v1.9.26

  • Added new bindable commands clink-show-suggestion-list and clink-cancel-suggestion-list, for more specific control than clink-toggle-suggestion-list.
  • Added the console codepage to clink info and clink-diagnostics output.
  • Changed how coloring the command word works with remote paths/files:
    • Disable coloring the command word with absolute remote paths/files, instead of coloring it as "unrecognized".
    • Allow coloring the command word with relative remote paths/files, i.e. when the current directory is a remote drive, instead of coloring it as "unrecognized" (this can be disabled by setting the CLINK_NO_REMOTE_COLORING environment variable to a positive integer such as 1).
  • Updated documentation to be clear that the autosuggest.strategy setting is a list of strategy names separated by spaces (other punctuation are not separators).
  • Fixed the "User scripts and history" checkbox in the uninstaller so it correctly deletes them when checked (regression introduced in v0.2, in 2012).
  • Fixed the clink.debugprint() Lua API to handle UTF8 appropriately.
  • Fixed off-by-one row when clicking the mouse in the suggestion list when the suggestionlist.hide_hints setting is false.
  • Fixed #875; crash on HTTP error partway through checking for an update.
  • Internal changes to remove internal Clink Lua functions and data from the visible namespace.

v1.9.25

Choose a tag to compare

@chrisant996 chrisant996 released this 25 May 17:28

Recent Breaking Change

  • Breaking Change: the "gray text" auto-suggestions display is now off by default, due to too many complaints and frustration and support cost.
    • The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via clink set suggestionlist.default true.
    • The "gray text" or "inline" auto-suggestions display can be turned on again via clink set autosuggest.inline true if preferred.

v1.9.25

  • Added new suggestionlist.autooff setting to optionally automatically disable the suggestion list after each use (ended by Esc or Enter).

v1.9.24

Choose a tag to compare

@chrisant996 chrisant996 released this 23 May 16:19

Recent Breaking Change

  • Breaking Change: the "gray text" auto-suggestions display is now off by default, due to too many complaints and frustration and support cost.
    • The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via clink set suggestionlist.default true.
    • The "gray text" or "inline" auto-suggestions display can be turned on again via clink set autosuggest.inline true if preferred.

v1.9.24

  • Fixed #871; bad argument error in prompt.lua within the VS Code embedded terminal.

v1.9.23

Choose a tag to compare

@chrisant996 chrisant996 released this 18 May 00:52

Recent Breaking Change

  • Breaking Change: the "gray text" auto-suggestions display is now off by default, due to too many complaints and frustration and support cost.
    • The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via clink set suggestionlist.default true.
    • The "gray text" or "inline" auto-suggestions display can be turned on again via clink set autosuggest.inline true if preferred.

v1.9.23

  • Added new Lua API clink.addpackagepath() which simplifies adding a search path for shared Lua modules.
  • Added a workaround for #870 by automatically disabling Clink's shell integration support whenever a prompt filter has already inserted its own shell integration codes.

v1.9.22

Choose a tag to compare

@chrisant996 chrisant996 released this 10 May 19:34

Recent Breaking Change

  • Breaking Change: the "gray text" auto-suggestions display is now off by default, due to too many complaints and frustration and support cost.
    • The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via clink set suggestionlist.default true.
    • The "gray text" or "inline" auto-suggestions display can be turned on again via clink set autosuggest.inline true if preferred.

v1.9.22

  • Added new match.file_sizes setting to optionally show the file size in the match description for file matches.
  • Changed clink update to delete the .zip file if it fails the digital signature check, which allows the next clink update to try downloading a new .zip file in case it had gotten corrupted.
  • Fixed the suggestion list disappearing when clink-select-complete is invoked but there are no completions available.
  • Fixed #862; Ctrl + L shouldn't clear the scrollback buffer (regression introduced in v1.9.21).
  • Fixed #867; "attempt to call a table value" after clink update fails to expand the zip file.

v1.9.21

Choose a tag to compare

@chrisant996 chrisant996 released this 04 May 15:23

Recent Breaking Change

  • Breaking Change: the "gray text" auto-suggestions display is now off by default, due to too many complaints and frustration and support cost.
    • The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via clink set suggestionlist.default true.
    • The "gray text" or "inline" auto-suggestions display can be turned on again via clink set autosuggest.inline true if preferred.

v1.9.21

  • Added an optional timeout argument to the console.sendterminalrequest() Lua API, with a default of 0.5 seconds if omitted. The timeout accommodates cases where the terminal's response isn't immediately available.
  • Changed the bindable clink-diagnostics command to accept an explicit numeric arg 0 (Alt-0) to show only basic diagnostic info.
  • Fixed suggestion list display issues with certain Readline input states.
  • Fixed suggestion list display issue after Ctrl-Alt-L to clear the screen.
  • Fixed suggestion list getting discarded if the cursor was moved left and then Up or Down was used to select a suggestion.
  • Fixed execute-named-command (regression introduced in v1.9.18 / v1.9.20).
  • Fixed clearing the pager prompt (regression introduced in v1.9.19).
  • Fixed #861; Ctrl + Alt + L doesn't clear the scrollback buffer.