mirror of
https://github.com/coleam00/bolt.new-any-llm
synced 2024-12-27 22:33:03 +00:00
12 lines
202 B
TypeScript
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}`,
|
|
};
|