Part of bzrlib.ui.text View In Hierarchy
| Method | __init__ | Undocumented |
| Method | interact | Keep asking the user until a valid choice is made. |
| Method | _setup_mode | Setup input mode (line-based, char-based) and echo-back. |
| Method | _build_alternatives | Parse choices string. |
| Method | _getline | Undocumented |
| Method | _getchar | Undocumented |
Line-based input is used if the BZR_TEXTUI_INPUT environment variable is set to 'line-based', or if there is no controlling terminal.