Crate termal_codes

source ·

Macros

  • creates a true rgb foreground color. R, G and B must be values in range 0..256
  • creates a background color, color is value in range 0..256
  • Moves cursor to the given column
  • Creates escape sequence, the first literal is the end of the sequence, the other arguments are the values in the sequence
  • creates a true rgb foreground color. R, G and B must be values in range 0..256
  • creates a foreground color, color is value in range 0..256
  • Moves cursor down by N positions
  • Moves cursor left by N positions
  • Moves cursor right by N positions
  • Moves cursor to the given position.
  • Moves cursor up by N positions
  • Creates the given sequence, this is used internally, you should use the macro csi!
  • Moves cursor to the start of line N lines down
  • Moves cursor to the start of line N lines up

Constants

Traits

  • Trait for getting string from &str and String