ui/textui.sh¶
UI Text support (e.g., text menus).
- TextMenu()¶
Text-based menu.
- TextMenu_show()¶
Show the menu and return selected value.
- TextProgress()¶
Text-based progress bar.
- TextProgress_inc()¶
Increment value by 1.
- TextProgress_print()¶
Start the progress bar (in background).
- TextProgress_set()¶
Set the new value.
- TextProgress_start()¶
Start the progress bar (in background).
- TextProgress_stop()¶
Stop the progress bar. If already stopped, do nothing.
- TextSpinner()¶
Text-based spinner.
- TextSpinner_start()¶
Start spinning at regular intervals (should be stopped by invoking stop).
- TextSpinner_stop()¶
Stop spinning.
- textui_enabled()¶
Return true if this module is enabled.