v1.7.18
- Fixed #752;
clink config theme use {name}reports an error (regression introduced in v1.7.17).
v1.7.17
- Added "4-bit Enhanced Defaults.clinktheme" color theme which approximates the "Enhanced Defaults" colors using only 4-bit terminal colors.
- Added a
clink config theme save -dflag to save a color theme with placeholders for color settings whose current value matches its default value. Loading a color theme saved this way resets those colors to whatever default values are defined at the moment the file is loaded. - Changed the default behavior for throttling Lua coroutines. By default there is no throttling anymore. The new
lua.throttle_intervalsetting can be used to enable throttling of Lua coroutines if they cause responsiveness issues. Prior to this, the throttling interval had been hard-coded to 5 seconds, but now it's configurable and is 0 by default (no throttling). - Changed
rl.getpromptinfo()to be allowed during transient prompt filtering (but still not during normal prompt filtering). - Added an optimization to replay keyboard macros faster.
- Added an optimization to read key sequences faster, which makes Clink a little more responsive while typing.
- Fixed erasing leftover input text if the prompt height changes while typing.
- Fixed the
oncommandevent when an argmatcher uses:chaincommand(). - Fixed the
line_statesent toluafunc:macros invoked during a keyboard macro (it was empty if the keyboard macro had changed the input line). - Fixed use of
clink.promptcoroutine()during transient prompt filtering (it was accidentally trying to do asynchronous prompt filtering, which isn't possible during transient prompt filtering). - Fixed the
onadvancecallback in argmatchers so it doesn't interfere with match generation. - Fixed a problem where
clink-popup-historycould leak or lose the undo list from the current input line. - Fixed an error when applying a
*.clinkthemefile with a[clear]section. - Fixed #751; multi-line oh-my-posh config without newlines causes display problem.