[−][src]Crate newt
newt-rs
Rust bindings for the Newt console UI library.
Modules
callbacks | Callbacks and filters. |
components | |
constants | |
windows | Convenient windowing functions. |
Structs
Callback | A callback called when a newt |
Colors | A struct containing the color sets for all components. |
Functions
bell | Issue a terminal beep. |
centered_window | Open a window in the center of the screen. |
clear_key_buffer | Clear the key buffer. |
cls | Clear the screen. |
cursor_off | Turn the cursor visibility off. |
cursor_on | Turn the cursor visibility on. |
delay | Wait for a specified amount of time. |
draw_root_text | Draw text directly to the root window. |
finished | Close down the newt library and reset the terminal. |
get_screen_size | Get the terminal screen size. |
init | Initialize the newt library. |
open_window | Open a window at the specified location. |
pop_help_line | Remove the help line. |
pop_window | Close the most recently opened window. |
pop_window_no_refresh | Close the most recently opened window without redrawing the screen. |
push_help_line | Display a help string on the bottom of the screen. |
redraw_help_line | Redraw the help line. |
reflow_text | Reflow text according to the provided specifications. |
refresh | Redraw the screen. |
resize_screen | Notify newt of a screen resize. |
resume | Resume running the newt library. |
set_color | Set a specific color set. |
set_colors | Set the colors used by the newt library. |
suspend | Temporarily suspend the newt library and reset the terminal. |
wait_for_key | Wait until a key is pressed. |
win_choice | Open a window providing a choice of buttons. |
win_entries | Open a window containing a number of text |
win_menu | Open a window containing a |
win_message | Open a simple message window. |
win_ternary | Open a window with three buttons. |