classafTerminal::AnsiTerminal
sys::Obj afTerminal::AnsiTerminal
ANSI Terminal FWT Widget.
- ansiPalette
- const AnsiPalette ansiPalette- The palette to use when printing indexed colours. 
- caretOffset
- Int caretOffset()- The carets current character offset. 
- caretPos
- Point caretPos()- The terminals current caret position. 
- clear
- This clear()- Convenience for: - terminal.print(AnsiBuf().clearScreen.toAnsi) 
- cols
- Int cols()- A best guess as to the number of columns that are visible on the screen. 
- defStyle
- const RichTextStyle defStyle- Default style to use when the ANSI reset command is printed. 
- errStyle
- const RichTextStyle errStyle- Default style to use when printing errors. 
- make
- new make(|This? f := null)- Standard it-block ctor. Use to set the styles and palette: - terminal := AnsiTerminal { defStyle = RichTextStyle { ... } errStyle = RichTextStyle { ... } palette = AnsiPalette.putty }
- print
- Prints the given object; usually a - Stror an- AnsiBuf.
- printErr
- Prints the given object; usually a - Stror an- AnsiBuf.
- richText
- RichText richText- The underlying RichText widget. 
- rows
- Int rows()- A best guess as to the number of rows that are visible on the screen. 
- text
- Str text()- The terminals current text.