Skip to content

Commit

Permalink
Update CHANGES.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisant996 committed Feb 5, 2023
1 parent e3d739a commit b8efc40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- 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` <kbd>Ctrl</kbd>-<kbd>X</kbd>,<kbd>Ctrl</kbd>-<kbd>Z</kbd> 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 turned off, now it hides files and directories whose names begin with `.`.
- 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](https://github.com/chrisant996/clink/issues/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.

Expand Down

0 comments on commit b8efc40

Please sign in to comment.