Return to index

tui functions

string = editor(default_content_string,width,height,title_string)

top

Launches a multiline text editor and returns the edited string


result = tui(map[,map])

top

perform tui action


tui_box(map[,map])

top

draw box


tui_clear(map[,map])

top

clear a tui element's area


string = tui_input(map[,map])

top

input text. relevant tui struct fields: .Border, .Content, .Prompt, .Cursor, .Title, .Width, .Height, .Row, .Col


int_selection_position = tui_menu(map[,map])

top

present menu


map = tui_new()

top

create a tui options map


map = tui_new_style()

top

create a tui style map


tui_pager(map[,map])

top

pager for text


tui_progress(map[,map])

top

update a progress bar


tui_progress_reset(map)

top

reset a progress bar


tui_screen(int)

top

switch to primary (0) or secondary (1) screen buffer


tui_table(map[,map])

top

table formatter (.Format="csv|tsv|psv|ssv|custom|aos" .Data=input string


tui_template(map[,map])

top

replace {.field} matches in template string, with struct field values


tui_text(map[,map])

top

output text