github chrisant996/clink v1.4.16

latest releases: v1.6.21, v1.6.20, v1.6.19...
19 months ago
  • Added history.show_preview setting that controls whether to show a preview of history expansions (previously it was inferred by whether color.histexpand was set).
  • Added detection for problematic codes in the prompt string. The clink-diagnostics Ctrl-X,Ctrl-Z command reports problem codes in the prompt string. When certain problem codes exist in the prompt string, then Clink compensates by reprinting the entire input line after printing the prompt string. Ideally, the prompt string should be fixed by the user, but sometimes that's difficult if the prompt string was generated by a tool.
  • Potential Breaking Change: Fixed how hidden and system files are handled by os.globdirs() and os.globfiles() (it had never worked properly). It worked fine with the default modes of the files.hidden and files.system settings and match-hidden-files config variable. But if any of those were changed from the default values then malfunctions could occur. With the fix, in backward compatibility mode the files.hidden and files.system settings and match-hidden-files config variable control whether os.globdirs() and os.globfiles() find hidden or system files, as before, and things can potentially malfunction. When the optional extrainfo argument is non-zero or when a new optional flags table is passed to them, they now default to including hidden files and omitting system files, but the flags table can override that. This change was necessary because some scripts were unable to detect git repositories when the files.hidden setting was false. Excluding hidden files never worked properly in the past. Clink v1.4.16 does its best to be as backward-compatible and forward-compatible as possible, but in some cases scripts may need to be updated to work properly when the settings or config variable are changed from their default values.
  • Fixed the match-hidden-files config variable to work again (regression introduced in v1.0.0). Also, when off, now it hides files and directories whose names begin with ..
  • Fixed #421; clink.bat errors with quoted arguments (regression introduced in v1.3.47).
  • Updated documentation with more cross-referencing links for Clink settings, Readline commands, Readline config variables, and standard Lua APIs.

Don't miss a new clink release

NewReleases is sending notifications on new releases.