cfonts
Version:
Sexy ANSI fonts for the console
12 lines (11 loc) • 546 B
TypeScript
/**
* Add a new line to the output array
*
* @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 {array} FontBuffer - An array of the space we add at the beginning of each line
* @param {number} lineHeight - The user defined line height
*
* @return {array} - The output array with new line
*/
export function AddLine(output: any[], fontLines: number, FontBuffer: any[], lineHeight: number): any[];