feat(tui): added tui autocomplete awaitable slash cmd returns with hints
- Added promise-based slash command completions with Awaitable returns and argumentHint metadata. - Added kitty modifier-key decoding with super-mask support and validation of Alt/Ctrl/Super printable events. - Added kitty printable key deduplication by filtering pending unmodified follow-up codepoints in the stdin buffer. - Added render throttling with stop-time finalization, output normalization, and OSC 9;4 progress updates.
This commit is contained in:
@@ -123,7 +123,7 @@ const THAI_LAO_AM_GLOBAL_REGEX = /[\u0e33\u0eb3]/g;
|
||||
*/
|
||||
export function normalizeTerminalOutput(str: string): string {
|
||||
if (!THAI_LAO_AM_REGEX.test(str)) return str;
|
||||
return str.replace(THAI_LAO_AM_GLOBAL_REGEX, (char) => (char === "\u0e33" ? "\u0e4d\u0e32" : "\u0ecd\u0eb2"));
|
||||
return str.replace(THAI_LAO_AM_GLOBAL_REGEX, char => (char === "\u0e33" ? "\u0e4d\u0e32" : "\u0ecd\u0eb2"));
|
||||
}
|
||||
|
||||
const makeBoolArray = (chars: string): Uint8Array => {
|
||||
|
||||
Reference in New Issue
Block a user