D.A.B.Tv0.0.17 Tutorial API DABT Tools ↗ GitHub ↗

tui.get

tui.get ID

Prints a widget’s value, without a trailing newline.

Output: by type: input, password and textarea: the text (textarea lines joined by newlines); checkbox: 0 or 1; label: its text; select: the chosen option; progress: the percent. Buttons, lists and tables print nothing; use tui.list.item / tui.table.row.

Example

name="$(tui.get inp_name)"