cfonts
Version:
Sexy ANSI fonts for the console
14 lines (13 loc) • 673 B
TypeScript
/**
* Add a new character to the output array
*
* @param {string} CHAR - The character to be added
* @param {array} output - The output array the line shall be appended to
* @param {number} fontLines - The number of lines this font has per character
* @param {object} fontChars - An object with all character arrays
* @param {number} fontColors - The amount of colors allowed for this font
* @param {object} colors - Our options
*
* @return {array} - The output array with new line
*/
export function AddChar(CHAR: string, output: any[], fontLines: number, fontChars: object, fontColors: number, colors: object): any[];