Namespace: terminal

terminal

Author:
License:
  • CC-BY-NC-SA-4.0

Methods


<static> clear()

Removes all entries of the terminal.

<static> emptyLine()

Adds an empty line to a HTML tag identified by id="terminal". The style (i.e. the height) of the newline is defined by the css class selector terminal_newline.

<static> log( [p_message] [, p_class])

Adds an paragraph to a HTML tag identified by id="terminal". This paragraph contains the message passed via p_message. If an CSS class name is passed via the optional parameter p_class, it is prepended by terminal_ ans then added to the paragraph tag.
Parameters:
Name Type Argument Description
p_message string <optional>
The message to be displayed.
p_class string <optional>
The name of a CSS class (without terminal_)