Terminal Tools

Class

Banner

Source

Methods

getChar(char) → {String}

Get the character from the hex file

Parameters

  • char String

Returns

  • String The character in the hex file

Example

const banner = new Banner();
banner.load();
banner.getChar("A");

Source

load(hexFilePathopt)

Load the hex file

Parameters

  • hexFilePath String <optional>
    "extras/unifont-15.0.01.hex.gz"

Example

const banner = new Banner();
banner.load();

Source

write(string)

Prints the string to the console, in the form of a banner

Parameters

  • string String
    The string to write

Example

const banner = new Banner();
banner.load();
banner.write("Hello, World!");

Source