Skip to main content

Module avatar

Module avatar 

Source
Expand description

AVATAR (AVT/0 and AVT/0+): the compact screen codes of Opus, Maximus and other FidoNet-era BBSes, interpreted alongside ANSI.

  • ^L clears the screen to cyan on black and homes the cursor.
  • ^Y c n repeats the character c n times.
  • ^V starts a command: ^A attr sets the color (a PC attribute byte), ^B blinks, ^C/^D/^E/^F move up/down/left/right, ^G clears to the end of the line, ^H row col moves the cursor (from 1, 1).
  • AVT/0+ adds: ^I insert mode (until the next command), ^J n t l b r and ^K ... scroll an area up or down, ^L attr rows cols clears an area at the cursor, ^M attr c rows cols fills one with a character, ^N deletes the character at the cursor, and ^Y n pattern... count repeats a pattern.

Structs§

Avatar

Enums§

Outcome
What the terminal should do with a byte.