-login:
user: password:
Polski
huginn - programming language with no quirks, so simple every child can master it.
Fork me on GitHub
git clone https://codestation.org/repo/huginn.git
git clone https://github.com/AmokHuginnsson/huginn.git
git clone https://bitbucket.org/huginn/huginn.git
The Terminal package provides terminal (console) manipulation routines.
Members
  • TerminalException( message ) - create instance of TerminalException with given message
  • attribute( attr, str ) - wrap given stringstr with given attribute attr
  • clear() - clear content of the terminal
  • clear_to_eol() - clear content of the current line til the end
  • color( color, str ) - wrap given stringstr with given color
  • columns() - get number of columns for current terminal
  • get_character() - read single character from terminal
  • get_key() - read single key press from the keyboard
  • is_valid() - tell if current standard I/O stream represents a valid terminal device
  • lines() - get number of lines for current terminal
  • move( row, column ) - move cursor to a new position indicated by row and column
  • reset() - perform reset current terminal
  • restore() - restore previously saved cursor position
  • save() - save current cursor position
Terminal.ATTRIBUTE - The ATTRIBUTE is a set of known terminal attributes.
Members
  • BLINK - blinking text mode attribute
  • BOLD - bold font attribute (use bright intensity colors)
  • RESET - reset all attributes and colors
  • REVERSE - reversed colors attribute
  • UNDERLINE - underline font attribute
Terminal.COLOR - The COLOR is a set of colors from basic color palette.
Members
  • BLACK - black color
  • BLUE - low intensity blue color
  • BRIGHTBLUE - bright blue color
  • BRIGHTCYAN - bright cyan color
  • BRIGHTGREEN - bright green color
  • BRIGHTMAGENTA - bright magenta color
  • BRIGHTRED - bright red color
  • BROWN - brown color
  • CYAN - low intensity cyan color
  • GRAY - dark gray color
  • GREEN - low intensity green color
  • LIGHTGRAY - light gray color
  • MAGENTA - low magenta color
  • RED - low intensity red color
  • WHITE - white color
  • YELLOW - yellow color
Terminal.KeyPressEvent - The KeyPressEvent represents information about key press event as received by terminal.
Members
  • code - key pressed
  • key - the key pressed
  • modifiers - used
  • to_string() - get string representation of this key press event