class

FFF::UIRenderer

Inherits Reference < Object

Constants

HELP_LINES = ["───── Navigation ─────", " j/k Down/Up h/l Parent/Enter", " g/G Top/Bottom PgUp/PgDn Page", " . Toggle hidden - Previous dir", " ~ Home : Go to dir", " t Trash e Refresh", "", "───── File Ops ───────", " SPACE Mark m Mark all", " y Copy v Cut", " p Paste d Delete (trash)", " r Rename b Bulk rename", " n New dir f New file", " S Symlink x Attributes", " X Toggle executable", "", "───── Misc ───────────", " / Search i Preview", " s Shell = Cycle sort", " + Reverse sort 1-9 Favorites", " q Quit ? This help"]
LS_COLOR_RGB = {:red => {243_u8, 139_u8, 168_u8}, :green => {166_u8, 227_u8, 161_u8}, :yellow => {249_u8, 226_u8, 175_u8}, :blue => {137_u8, 180_u8, 250_u8}, :magenta => {245_u8, 194_u8, 231_u8}, :cyan => {148_u8, 226_u8, 213_u8}, :white => {205_u8, 214_u8, 244_u8}}

Map LS_COLORS symbol → theme-compatible RGB

SPINNER_FRAMES = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"]

Constructors

new(term : Terminal, config : Config)
Source

Instance methods

redraw(state : DrawState)
Source