- Breaking Change: The
clink.onendedit()
Lua event has been split into two separate events:clink.onendedit()
registers a function to be called when the edit prompt ends.clink.onfilterinput()
registers a function to be called after the edit prompt ends (and after the onendedit event is sent), and the function can replace the input text.
- Added
rl.getkeybindings()
function to get a table containing key bindings. The bindings can be invoked viarl.invokecommand()
. For example, a "luafunc:" macro could use this to get key bindings, show an interactive list, and then invoke the selected key binding. - Fixed #134;
print()
can stop working. Issue #93 can potentially happen any time redirection is used, so the fix must be applied repeatedly (not just after Clink injection). - Fixed #119; reuse registered parsers for doskey macros.