Releases: chrisant996/clink
Releases Β· chrisant996/clink
Release list
v1.9.30
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 trueif preferred.
- The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via
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
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 trueif preferred.
- The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via
v1.9.29
- Added new Lua APIs to query Readline's kill-ring (see rl.getkillringcount() and etc).
- Changed
oh-my-posh.clinkpromptto work around an issue where in error cases oh-my-posh can accidentally emit abashscript 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 theclink-helpcommand 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;Dcode was emitted too early and contained a mismatched exit code.
v1.9.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 trueif preferred.
- The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via
v1.9.28
- Fixed a case where
clink-select-completecould accidentally wrap long matches with descriptions instead of truncating them. - Fixed a case where
clink-select-completecould 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
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 trueif preferred.
- The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via
v1.9.27
- Added new
suggestionlist.max_widthsetting 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 failedin a directory with empty.gitsubdirectory.
v1.9.26
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 trueif preferred.
- The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via
v1.9.26
- Added new bindable commands
clink-show-suggestion-listandclink-cancel-suggestion-list, for more specific control thanclink-toggle-suggestion-list. - Added the console codepage to
clink infoandclink-diagnosticsoutput. - 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_COLORINGenvironment variable to a positive integer such as1).
- Updated documentation to be clear that the
autosuggest.strategysetting 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_hintssetting 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
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 trueif preferred.
- The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via
v1.9.25
- Added new
suggestionlist.autooffsetting to optionally automatically disable the suggestion list after each use (ended by Esc or Enter).
v1.9.24
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 trueif preferred.
- The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via
v1.9.24
- Fixed #871; bad argument error in prompt.lua within the VS Code embedded terminal.
v1.9.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 trueif preferred.
- The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via
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
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 trueif preferred.
- The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via
v1.9.22
- Added new
match.file_sizessetting to optionally show the file size in the match description for file matches. - Changed
clink updateto delete the .zip file if it fails the digital signature check, which allows the nextclink updateto try downloading a new .zip file in case it had gotten corrupted. - Fixed the suggestion list disappearing when
clink-select-completeis 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 updatefails to expand the zip file.
v1.9.21
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 trueif preferred.
- The Suggestions List since v1.8.0 is friendlier and more powerful; toggle it by pressing F2 or enable it by default via
v1.9.21
- Added an optional
timeoutargument 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-diagnosticscommand 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.