Skip to content

Releases: chrisant996/clink

v1.1.16

28 Dec 20:35
Compare
Choose a tag to compare
v1.1.16 Pre-release
Pre-release

This is a release candidate build; an official release build is likely to arrive before Jan 1.

This release candidate build seems to be working very well for me, even when copied into an existing Cmder\vendor\clink directory. Be sure to make a backup copy of your Cmder installation before copying Clink into an existing Cmder installation!

Highlights for v1.1.16:

  • Added match.ignore_accent setting (enabled by default) that ignores Latin alphabet diacriticals when completing matches (e.g. ä matches a, ı matches i, ł matches l, etc).
  • Fixed #42 history lines are split on special characters.
  • Fixed #41 Enable custom doskey handling of .. and -.
  • Fixed Readline bug inserting dir matches; \win_ foo (cursor at _) would become \Windows\\_ foo.
  • Fixed the quoted-insert command to insert just \x1b when ESC is pressed.

v1.1.15

27 Dec 03:54
Compare
Choose a tag to compare
v1.1.15 Pre-release
Pre-release

This is a release candidate build; an official release build is likely to arrive before Jan 1.

This release candidate build seems to be working very well for me, even when copied into an existing Cmder\vendor\clink directory. Be sure to make a backup copy of your Cmder installation before copying Clink into an existing Cmder installation!

Highlights for v1.1.15:

  • Migrating settings now immediately writes a new settings file, instead of waiting until a setting is changed.
  • Added support to detect when running in Windows Terminal and use native terminal support (which enables things like Xterm 256 and 24-bit color support).
  • Added terminal emulation support for Xterm 256 and 24-bit color escape codes. Clink maps the specified color to the most similar color in the active 16 color palette (using the CIELAB color space). To get full support for 24-bit color, it's necessary to use ConEmu or Windows Terminal or a similar console host, or to set terminal.emulation to native (which isn't supported on some older Windows OS versions).
  • Allow doskey macros named .. or -, and also now doskey macros that resolve to .. or - or a directory name will work (just like if the macro text had been typed at the Clink prompt).
  • Fixed compatibility problem with various scripts getting the %HOME% environment variable. Now if it isn't set, then Clink synthesizes %HOME% from %HOMEDRIVE% and %HOMEPATH% or from %USERPROFILE%.
  • Fixed saving color settings to behave like other settings: only write a setting's value to the setting file if it differs from the default value.
  • Fixed the clink.print() Lua function so it also works during loading scripts and during prompt filtering.
  • Fixed the Readline input text display getting garbled if the filtered prompt includes Xterm's OSC window title code (\x1b]0;text\x07). Clink doesn't support that escape code, but at no longer garbles the input text if that escape code is present.

v1.1.14

24 Dec 14:42
Compare
Choose a tag to compare
v1.1.14 Pre-release
Pre-release

This is a release candidate build; an official release build is likely to arrive before Jan 1.

This release candidate build seems to be working very well for me, even when copied into an existing Cmder\vendor\clink directory. Be sure to make a backup copy of your Cmder installation before copying Clink into an existing Cmder installation!

Highlights for v1.1.14:

  • Migrate settings and history from an old version of Clink, if present. This only happens if the new-version Clink settings or history files don't exist. (Deleting an existing new-version Clink settings or history file will cause migration to happen again.)
  • Added color.prompt setting for backward compatibility with Clink v0.4.x.

v1.1.13

23 Dec 23:09
Compare
Choose a tag to compare
v1.1.13 Pre-release
Pre-release

This is a release candidate build; an official release build is likely to arrive before Jan 1.

This release candidate build seems to be working very well for me, even when copied into an existing Cmder\vendor\clink directory. Be sure to make a backup copy of your Cmder installation before copying Clink into an existing Cmder installation!

Highlights for v1.1.13:

  • Fixed clink.arg.register_parser backward compatibility.

v1.1.12

23 Dec 21:46
Compare
Choose a tag to compare
v1.1.12 Pre-release
Pre-release

This is a release candidate build.
An official release build is likely to arrive before Jan 1.

This is a release candidate build, and seems to be working very well for me, even when copied into an existing Cmder\vendor\clink directory. Be sure to make a backup copy of your Cmder installation before copying Clink into an existing Cmder installation!

Highlights for v1.1.12:

  • Added clink.ondisplaymatches() as a replacement for the deprecated clink.match_display_filter. The new API is able to support popup list windows as well.
  • Speculative possible fix for #35 Crash when clink on clink.bat.
  • Fixed #33 Tab autocomplete, auto-quoting paths doesn't seem to work as in Clink 0.4.9.

v1.1.11

19 Dec 12:11
Compare
Choose a tag to compare
v1.1.11 Pre-release
Pre-release

This is a release candidate build.
An official release build is likely to arrive before Christmas this year.

All of the features planned for the first official release from this fork have been completed, and backward compatibility with v0.4.8 seems to be working well.

This is a release candidate build, and seems to be working very well for me, even when copied into an existing Cmder\vendor\clink directory. Be sure to make a backup copy of your Cmder installation before copying Clink into an existing Cmder installation!

Highlights for v1.1.11:

  • Changed to load Lua scripts only once per session, unless forced to reload them. This enables backward compatibility for things like z.lua which has certain features that rely on Clink only loading scripts once per session.
  • Added clink.onbeginedit() so scripts can register a callback function to be called each time the edit prompt is activated.
  • Added lua.reload_scripts setting to optionally force reloading Lua scripts each time the edit prompt is activated.
  • Added color.message setting for the Readline message area color (e.g. the search prompt message or digit argument prompt message, etc).
  • Fixed stray sticky = appended to completions after typing set and then typing a different command.

v1.1.10

17 Dec 19:06
Compare
Choose a tag to compare
v1.1.10 Pre-release
Pre-release

This is a release candidate build.
An official release build is likely to arrive before Christmas this year.

All of the features planned for the first official release from this fork have been completed, and backward compatibility with v0.4.8 seems to be working well.

This is a release candidate build, and seems to be working very well for me, even when copied into an existing Cmder\vendor\clink directory. Be sure to make a backup copy of your Cmder installation before copying v1.1.10 into an existing Cmder installation!

Highlights for v1.1.10:

  • Fixed #32 hooking ReadConsoleW on Windows 7.

v1.1.9

17 Dec 12:45
Compare
Choose a tag to compare
v1.1.9 Pre-release
Pre-release

This is a release candidate build.
An official release build is likely to arrive before Christmas this year.

All of the features planned for the first official release from this fork have been completed, and backward compatibility with v0.4.8 seems to be working well.

This is a release candidate build, and seems to be working very well for me, even when copied into an existing Cmder\vendor\clink directory. Be sure to make a backup copy of your Cmder installation before copying v1.1.9 into an existing Cmder installation!

Highlights for v1.1.9:

  • Added backward compatibility for clink.match_display_filter. The clink-completions/git.lua script uses it a lot, and that should all be working now.
  • settings.add adds a color setting when the type is string and the name starts with "color.".
  • settings.get now has an extra parameter to request the user friendly color name when getting a color setting.
  • Added clink.version_encoded variable with the Clink version number as MMmmmpppp (e.g. v1.1.9 is 10010009) to make it easy for scripts to check for feature availability.
  • The clink info command now shows Lua script paths as well.
  • Fixed backward compatibility for loading scripts from the profile directory (if clink.path isn't set, then load scripts from the DLL directory and the profile directory).
  • Fixed some color.input bleed through to other things (introduced in v1.1.5).
  • Fixed scroll commands (regression introduced by input line color in v1.1.5).
  • Fixed horizontally sorted match display and re-enabled the performance fix from v1.1.4.
  • Fixed wildcard evaluation with non-file and non-directory matches (e.g. a branch name origin/master accidentally didn't match or or *ma because of the /).
  • Fixed sort order of foo\ vs foo.bar\ when displaying matches or using the menu-complete family of commands.
  • Fixed potentially-missing trailing path separator when menu-complete completes a directory match (regression introduced by wildcard matching in v1.1.5).
  • Other obscure minor fixes.

v1.1.8

12 Dec 05:11
Compare
Choose a tag to compare
v1.1.8 Pre-release
Pre-release

This is a release candidate build.
An official release build is likely to arrive before Christmas this year.

All of the features planned for the first official release from this fork have been completed, and backward compatibility with v0.4.8 seems to be working well.

This is a release candidate build, and seems to be working very well for me, even when copied into an existing Cmder\vendor\clink directory. Be sure to make a backup copy of your Cmder installation before copying v1.1.8 into an existing Cmder installation!

Highlights for v1.1.8:

  • Fixed file match completions when an argmatcher only generates flag matches.
  • Fixed automatic inferring whether Readline should use filename completion and/or display rules.
  • Fixed backward compatibility for clink.find_files() and clink.find_dirs().
    • Ignore extra arguments after the first one (the performance improvement in v1.1.7 revealed that some scripts call clink.find_files() with extra invalid arguments; e.g. clink-completions/modules/matchers.lua).
    • Don't append a trailing path separator on directory names returned by these functions (the new os.globfiles() and os.globdirs() functions do, but the old clink.find_files() and clink.find_dirs() functions should not).
  • Fixed backward compatibility for coloring matches.

v1.1.7

09 Dec 23:07
Compare
Choose a tag to compare
v1.1.7 Pre-release
Pre-release

This should be a pretty solid Beta build.
An official release build is likely to arrive before Christmas this year.

All of the features planned for the first official release from this fork have been completed, and backward compatibility with v0.4.8 seems to be working well.

This is a Beta build, and seems to be working very well for me, even when copied into an existing Cmder\vendor\clink directory. Be sure to make a backup copy of your Cmder installation before copying v1.1.7 into an existing Cmder installation!

Highlights for v1.1.7:

  • Performance improvement when displaying matches: When enumerating files and dirs, the os.globfiles and os.globdirs functions have all the info about each file. Now they can return that info in a table. This frees the match display function from needing to do any further file system IO. The performance boost is noticeable.
  • Rewrote the color settings: the .fg and .bg sub-settings are gone, and the main setting now uses a more natural syntax (e.g. clink set color.input bright yellow or clink set color.modmark bright cyan on blue).
  • Added "cmd" match type for shell (CMD.EXE) command completions.
  • Added VT emulation for the reverse video SGR parameters.
  • Fixed tab completion for clink set <setting>, and also handle the new color setting syntax.
  • Fixed confusing behavior if multiple scripts try to add settings with the same name (now the first one succeeds and the rest report errors).