module

UI

Constants

TOKENS = {"{text}" => "\e[39m", "{dim_text}" => "\e[90m", "{h1}" => "\e[1;33m", "{h2}" => "\e[1;36m", "{highlight}" => "\e[1;33m", "{reset}" => "\e[0m\e[39m\e[49m", "{reset_bg}" => "\e[49m", "{reset_fg}" => "\e[39m", "{clear_screen}" => "\e[2J", "{clear_line}" => "\e[2K", "{home}" => "\e[H", "{clear_below}" => "\e[0J", "{hide_cursor}" => "\e[?25l", "{show_cursor}" => "\e[?25h", "{start_selected}" => "\e[1m", "{end_selected}" => "\e[0m", "{bold}" => "\e[1m"}

Class methods

cls(io = STDERR)
Source
expand_tokens(str : String) : String
Source
flush(io = STDERR)
Source
height
Source
puts(text : String = "")
Source
read_key
Source
refresh_size
Source
width
Source