Class ColorConsoleWriter

This writer uses arsd.terminal and it's used if you add this dependency to your project It supports all the features and you should use it if you want to get the best experience from this project

class ColorConsoleWriter
  : ReportWriter ;

Methods

NameDescription
goTo (y) Go up y lines
hideCursor () hide the terminal cursor
showCursor () show the terminal cursor
width () returns the terminal width
write (text, context) writes a string
writeln (text, context) writes a string and go to a new line
writeReverse (text, context) writes a string with reversed colors

Enums

NameDescription
Context The information type. Convey meaning through color with a handful of emphasis utility classes.