Son CV dans un terminal web en Javascript! https://terminal-cv.gregandev.fr
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

13 lines
632 B

// @flow strict-local
const supportsEmoji =
process.platform !== 'win32' || process.env.TERM === 'xterm-256color';
// Fallback symbols for Windows from https://en.wikipedia.org/wiki/Code_page_437
export const progress: string = supportsEmoji ? '⏳' : '∞';
export const success: string = supportsEmoji ? '✨' : '√';
export const error: string = supportsEmoji ? '🚨' : '×';
export const warning: string = supportsEmoji ? '⚠' : '‼';
export const info: string = supportsEmoji ? 'ℹ' : 'ℹ';
export const hint: string = supportsEmoji ? '💡' : 'ℹ';
export const docs: string = supportsEmoji ? '📝' : 'ℹ';