Skip to content

Releases: chrisant996/clink

v1.4.4

14 Dec 11:58
Compare
Choose a tag to compare
  • Fixed the screen width in the Help commands and Completion commands (regression introduced in v1.3.43).
  • Fixed to not load the same Lua script more than once from a completions directory when the Lua script doesn't define an argmatcher.
  • Fixed architecture reported by clink-diagnostics Ctrl-X,Ctrl-Z (regression introduced in v1.3.49).

v1.4.3

30 Nov 22:11
Compare
Choose a tag to compare
  • Added backward compatibility for obsolete clink.quote_split(), clink.split(), and clink.get_screen_info().
  • Fixed empty completion list when typing two letters in rapid succession when both the autosuggest.enable and autosuggest.async settings are enabled.

v1.4.2

22 Nov 21:42
Compare
Choose a tag to compare
  • Fixed path abbreviation in some cases.

v1.4.1

19 Nov 19:12
Compare
Choose a tag to compare
  • Added os.abbreviatepath() and os.expandabbreviatedpath().
  • Invoking completion expands abbreviated paths when the new match.expand_abbrev setting is enabled.
  • Fixed displayed matches for c: or c:dir\.

v1.4.0

07 Nov 04:33
Compare
Choose a tag to compare
  • Added clink.getpopuplistcolors() to get the default popup list colors.
  • Added clink.refilterafterterminalresize() to enable automatic prompt refilter after terminal resize. Prompt filters should only enable this if they're designed to refilter very quickly, otherwise they may cause responsiveness problems. [clink-flex-prompt has been updated to make use of this.]
  • The clink.popuplist() function allows the items table to include fields to override the height, width, colors, and direction of the list.
  • The clink_settings file format has been relaxed slightly to accept trailing whitespace after a Boolean setting's value. Note that manually modifying the clink_settings file is not supported; always use clink set to query or change Clink settings.
  • Fixed an obscure crash in the Readline library inside the reverse-search-history command when pressing the first key of a multikey binding (e.g. Ctrl-X) and then pressing any key that does not follow the first key in any of the corresponding multikey bindings (e.g. Esc).
  • Fixed leaked file handle when history.save is False.
  • Fixed #370; Tab inside set /p var= mistakenly discards any previous input.

v1.3.51

28 Oct 19:10
Compare
Choose a tag to compare
  • Fixed :setendofflags(); it made -- work correctly for input line coloring, but it didn't work correctly when generating match completions.
  • Fixed obscure edge cases where matches returned by Lua scripts could display incorrectly in clink-select-complete, or could potentially even crash if Lua scripts returned invalid results from the ondisplaymatches or onfiltermatches events.

v1.3.50

25 Oct 00:44
Compare
Choose a tag to compare
  • Fixed the prefix highlighting when displaying matches.

v1.3.49

22 Oct 18:45
Compare
Choose a tag to compare
  • Autorun detects non-interactive CMD process earlier, before injecting the Clink DLL. This can improve performance somewhat, and may be able to reduce spurious problems with antivirus tools (such as described in #367).
  • Updater deletes zip file if it fails to unzip. This can help automatically recover from a damaged zip download.

v1.3.48

19 Oct 02:27
Compare
Choose a tag to compare
  • Fixed another #356 case; trailing spaces at end of display were sometimes optimized away by mistake (regression introduced in v1.3.43).

v1.3.47

15 Oct 21:13
Compare
Choose a tag to compare
  • Removed the message "Clink autorun is disabled by CLINK_NOAUTORUN".
  • Fixed #361; detect %CLINK_NOAUTORUN% faster.
  • Fixed another #356 case; end of display line not cleared sometimes (regression introduced in v1.3.43).