bolt.new-any-llm/app/utils/terminal.ts
2024-09-25 19:54:09 +01:00

12 lines
202 B
TypeScript

const reset = '\x1b[0m';
export const escapeCodes = {
reset,
clear: '\x1b[g',
red: '\x1b[1;31m',
};
export const coloredText = {
red: (text: string) => `${escapeCodes.red}${text}${reset}`,
};