Back
Christopher Antos
Patches for Clink
Windows
6 patches available
Clink combines the native Windows shell cmd.exe with the powerful command line editing features of the GNU Readline library, which provides rich completion, history, and line-editing capabilities. Readline is best known for its use in the Unix shell Bash, the standard shell for many Linux distributions.
Clink Version 1.8.6
Release Date
10/12/2025
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes
v1.8.6$$$Changed how repeated deletions work in popup lists (such as the history popup list): pressing Del repeatedly now deletes downwards by default (previously it deleted upwards).$$$Added new clink.popup_delete_direction setting to control the direction of deletions when pressing Del repeatedly in popup lists (such as the history popup list).$$$Added new Lua API clink.argmatcherloader() which registers a callback function that can intercept and extend on-demand loading for argmatchers.$$$Running clink config prompt show now shows the name of the currently selected *.clinkprompt custom prompt (if any).$$$Fixed macro text playback in macros containing a newline (regression introduced by an incorrect change in v1.2.34 which was exacerbated by a change in v1.7.17).
Clink Version 1.8.4
Release Date
9/29/2025
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes
v1.8.4 Latest$$$@chrisant996 chrisant996 released this yesterday$$$ v1.8.4$$$ 72da93c$$$Added a new starship.clinkprompt script. Run clink config prompt use starship to use it.$$$Added --all flag to show all themes or prompts: clink config theme show --all or clink config prompt show --all.$$$Added input hint text for :chaincommand() and for the onadvance and onalias callbacks. If no input hint is specified then the default input hint text is Argument expected: command [args].$$$Improved error reporting in the oh-my-posh.clinkprompt script.$$$Fixed input line coloring for clink set some_string_setting clear.$$$Fixed #799; in legacy console; using the clink-selectall-conhost bindable command scrolls back to the last line after dismissing the Find dialog.$$$Fixed a bug in the unit test harness which under rare circumstances could randomly make unit tests fail (regression introduced in v1.1.1-alpha by the Readline 8.0 update).
Clink Version 1.8.4
Release Date
9/29/2025
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes
v1.8.4 Latest$$$@chrisant996 chrisant996 released this yesterday$$$ v1.8.4$$$ 72da93c$$$Added a new starship.clinkprompt script. Run clink config prompt use starship to use it.$$$Added --all flag to show all themes or prompts: clink config theme show --all or clink config prompt show --all.$$$Added input hint text for :chaincommand() and for the onadvance and onalias callbacks. If no input hint is specified then the default input hint text is Argument expected: command [args].$$$Improved error reporting in the oh-my-posh.clinkprompt script.$$$Fixed input line coloring for clink set some_string_setting clear.$$$Fixed #799; in legacy console; using the clink-selectall-conhost bindable command scrolls back to the last line after dismissing the Find dialog.$$$Fixed a bug in the unit test harness which under rare circumstances could randomly make unit tests fail (regression introduced in v1.1.1-alpha by the Readline 8.0 update).
Clink Version 1.8.3
Release Date
9/16/2025
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes
v1.8.3 Latest$$$@chrisant996 chrisant996 released this 17 hours ago$$$· 11 commits to master since this release$$$ v1.8.3$$$ 67ba113$$$Added an optional hide= field in _argmatcher:addarg() and _argmatcher:addflags(). Any strings listed in the hide field are added to the argument slot or list of flags; but completion functions will not show them. This gives argument slots the same ability that flags had with _argmatcher:hideflags().$$$Added the OSC9;9 escape sequence to the prompt in Windows Terminal and ConEmu; to let the terminal know the current directory. For example; this enables Windows Terminals Duplicate Tab command to apply the current directory to the new tab.$$$Fixed the suggestion list to hide and go temporarily inactive after commands like complete which print some output and then show another prompt line. The suggestion list becomes active again after something changes the input line (or changes the cursor position away from the end of the input line and then back to the end of the input line).$$$Fixed clink --profile DIR inject (regression introduced in v1.3.47).
Clink Version 1.8.3
Release Date
9/16/2025
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes
v1.8.3 Latest$$$@chrisant996 chrisant996 released this 17 hours ago$$$· 11 commits to master since this release$$$ v1.8.3$$$ 67ba113$$$Added an optional hide= field in _argmatcher:addarg() and _argmatcher:addflags(). Any strings listed in the hide field are added to the argument slot or list of flags; but completion functions will not show them. This gives argument slots the same ability that flags had with _argmatcher:hideflags().$$$Added the OSC9;9 escape sequence to the prompt in Windows Terminal and ConEmu; to let the terminal know the current directory. For example; this enables Windows Terminals Duplicate Tab command to apply the current directory to the new tab.$$$Fixed the suggestion list to hide and go temporarily inactive after commands like complete which print some output and then show another prompt line. The suggestion list becomes active again after something changes the input line (or changes the cursor position away from the end of the input line and then back to the end of the input line).$$$Fixed clink --profile DIR inject (regression introduced in v1.3.47).
Clink Version 1.8.3
Release Date
9/16/2025
Bug Fix?
Yes
Minor Release?
Yes
Patch Notes
v1.8.3 Latest$$$@chrisant996 chrisant996 released this 17 hours ago$$$· 11 commits to master since this release$$$ v1.8.3$$$ 67ba113$$$Added an optional hide= field in _argmatcher:addarg() and _argmatcher:addflags(). Any strings listed in the hide field are added to the argument slot or list of flags; but completion functions will not show them. This gives argument slots the same ability that flags had with _argmatcher:hideflags().$$$Added the OSC9;9 escape sequence to the prompt in Windows Terminal and ConEmu; to let the terminal know the current directory. For example; this enables Windows Terminals Duplicate Tab command to apply the current directory to the new tab.$$$Fixed the suggestion list to hide and go temporarily inactive after commands like complete which print some output and then show another prompt line. The suggestion list becomes active again after something changes the input line (or changes the cursor position away from the end of the input line and then back to the end of the input line).$$$Fixed clink --profile DIR inject (regression introduced in v1.3.47).
Clink Version 1.8.1
Release Date
9/10/2025
Bug Fix?
Yes
Minor Release?
No
Patch Notes
v1.8.1$$$Fixed #796; unable to load Clink on Win7 and earlier (regression introduced in v1.8.0 by Readline changes).
Clink Version 1.8.1
Release Date
9/10/2025
Bug Fix?
Yes
Minor Release?
No
Patch Notes
v1.8.1$$$Fixed #796; unable to load Clink on Win7 and earlier (regression introduced in v1.8.0 by Readline changes).
Clink Version 1.7.22
Release Date
8/6/2025
Bug Fix?
Yes
Minor Release?
No
Patch Notes
v1.7.22 Latest$$$$$$Explicitly disable loadlib and related support in Lua; Clink uses a statically linked Lua engine and does not support dynamic C libraries.$$$Fixed the onprovideline event so it doesnt interfere with the same_dir mode of prompt.transient.$$$Fixed input line coloring of echo in for %i (1 2 3) do @echo %i (regression introduced in v1.6.16).$$$Fixed how clink autorun set parses flags and quotes; so that clink autorun set \c:\my tools\clink\ inject --autorun works as expected.$$$Fixed the exec.commands setting when an argmatcher uses :chaincommand().$$$Fixed edge cases for @ command prefix when an argmatcher uses :chaincommand().$$$Fixed #779; an argmatchers onadvance callback accidentally advanced two times if it advanced to the last argument slot.$$$Fixed #782; on Windows 8.1; some multiline prompts may render with extra blank lines.
Clink Version 1.7.22
Release Date
8/6/2025
Bug Fix?
Yes
Minor Release?
No
Patch Notes
v1.7.22 Latest$$$$$$Explicitly disable loadlib and related support in Lua; Clink uses a statically linked Lua engine and does not support dynamic C libraries.$$$Fixed the onprovideline event so it doesnt interfere with the same_dir mode of prompt.transient.$$$Fixed input line coloring of echo in for %i (1 2 3) do @echo %i (regression introduced in v1.6.16).$$$Fixed how clink autorun set parses flags and quotes; so that clink autorun set \c:\my tools\clink\ inject --autorun works as expected.$$$Fixed the exec.commands setting when an argmatcher uses :chaincommand().$$$Fixed edge cases for @ command prefix when an argmatcher uses :chaincommand().$$$Fixed #779; an argmatchers onadvance callback accidentally advanced two times if it advanced to the last argument slot.$$$Fixed #782; on Windows 8.1; some multiline prompts may render with extra blank lines.
Clink Version 1.7.21
Release Date
7/13/2025
Bug Fix?
Yes
Minor Release?
No
Patch Notes
Fixed TAB expansion of foo ~ when there is no argmatcher for foo.$$$Fixed #772; uninstall fails to uninstall autorun if the logged on user is not an administrator.$$$Fixed #773; unexpected completion behavior after a doskey alias command.
Clink Version 1.7.21
Release Date
7/13/2025
Bug Fix?
Yes
Minor Release?
No
Patch Notes
Fixed TAB expansion of foo ~ when there is no argmatcher for foo.$$$Fixed #772; uninstall fails to uninstall autorun if the logged on user is not an administrator.$$$Fixed #773; unexpected completion behavior after a doskey alias command.
Clink Version 1.7.20
Release Date
6/8/2025
Bug Fix?
Yes
Minor Release?
No
Patch Notes
v1.7.20 $$$Fixed #763; transient prompt has blank line after it if the input line is the width of the terminal (regression introduced in v1.7.0).$$$Fixed #765; inside a batch script; setlocal interferes with injecting Clink (regression introduced in v1.1.1).
Clink Version 1.7.20
Release Date
6/8/2025
Bug Fix?
Yes
Minor Release?
No
Patch Notes
v1.7.20 $$$Fixed #763; transient prompt has blank line after it if the input line is the width of the terminal (regression introduced in v1.7.0).$$$Fixed #765; inside a batch script; setlocal interferes with injecting Clink (regression introduced in v1.1.1).
Interested in automating patching for Clink?