This is a release candidate build.
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.21:
- Added
clink.oninject()
so scripts can register a callback function to run when Clink is injected into CMD. - Added
console.linehascolor()
function that returns whether the specified line contains any of the specified colors. - Added
console.findprevline()
andconsole.findnextline()
functions that can search backwards or forwards for text and/or colors in the screen buffer. Regular expressions may be used. - Fixed doskey alias parsing for match generators and input line coloring (Clink had been using slightly different parsing rules than CMD does).
- Fixed the "-- More --" prompt while listing key bindings; Esc didn't quit, and unexpected keys weren't ignored.