Important: Updating to v1.3.10 or higher is recommended in a timely manner: v1.3.1 through v1.3.9 have a memory corruption issue that can eventually lead to a malfunction or crash the more often you use completion.
Changes in v1.3.12
- Improved
clink-select-complete
to show inline descriptions as long as they don't require more than 9 rows to display the matches. - Added second argument to the
delayinit
function for an argmatcher. - Added
argmatcher:setflagsanywhere()
andargmatcher:setendofflags()
to control where flags are recognized. - Added
clink.getargmatcher()
to find the argmatcher for a command name or command line (line_state
). - Added
os.resolvealias()
to expand doskey alias(es) in a line of text. - Added
clink.oncommand()
to register a function to be called when a command is entered in the edit line. - Improved support for argmatcher non-flag argument values that end with
=
: now they can have a linked argmatcher, and input line coloring is applied correctly. - Fixed quotes during completion (regression introduced in v1.3.11).
- Fixed
cd /d dir
argmatcher (regression introduced in v1.3.11). - Fixed input line coloring for
"echo"
and other CMD commands; quotes disqualify a word from being a CMD command. - Fixed redundant argmatcher delayinit for flags.
- Various minor backward compatibility fixes.