Back

Christopher Antos
Patches for Clink
Windows
4 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.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?