You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.