github chrisant996/clink v1.5.15

latest releases: v1.7.5, v1.7.4, v1.7.3...
12 months ago
  • Added localized descriptions for flag completions in cmd, cd, and rd.
  • Added partial ability to detect light/dark console color themes:
    • Added console.getcolortable() which returns a table with the console's current 16 predefined colors. When possible, the table includes a field indicating whether the current console color theme is a light or dark theme.
    • At this time, the colors can be accurately retrieved only when using the legacy conhost terminal. When using Windows Terminal, ConEmu, or other ConPty-based terminals there is currently no way to accurately retrieve the colors. Once the Terminal#10639 issue is fixed then Clink will also detect the background color in these terminal programs.
    • Changed the default for color.suggestion so that it attempts to detect light themes (bright background colors) when possible, and it attempts automatically choose a default color for suggestions that is faint but has sufficient contrast to be readable.
  • Fixed the onlink callback function in :addflags() so that the arg_index parameter is correctly 0 instead of 1.
  • Fixed the upper bound line number for Lua console line API functions.
  • Fixed console.getlinetext() when emoji are present.

Don't miss a new clink release

NewReleases is sending notifications on new releases.