Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | message(): New function | P. J. McDermott | 2015-10-29 | 2 | -2/+31 |
| | |||||
* | tui_show_prompt(): Hide cursor after KEY_ENTER from input | P. J. McDermott | 2015-10-29 | 1 | -1/+4 |
| | |||||
* | tui_show_menu(): Add Vim-style key bindings | P. J. McDermott | 2015-10-29 | 1 | -4/+4 |
| | |||||
* | _tui_box(): Fix coordinate offsets | P. J. McDermott | 2015-10-29 | 1 | -2/+2 |
| | | | | Rows and columns are counted from 1. | ||||
* | _tui_dialog(): Don't use SGR underline with icons | P. J. McDermott | 2015-10-29 | 1 | -19/+2 |
| | | | | | The Linux console handles SGR parameter 4 with color instead of an underline. | ||||
* | tui_show_prompt(): Draw box, not underlined field | P. J. McDermott | 2015-10-29 | 1 | -13/+15 |
| | | | | | The Linux console handles SGR parameter 4 with color instead of an underline. | ||||
* | _tui_box(): Reset SGR before clearing screen | P. J. McDermott | 2015-10-29 | 1 | -0/+1 |
| | | | | | | Otherwise, some video mode corruption happens and the screen gets cleared white for the next box (on VTE-based terminals) or all subsequent boxes (on XTerm and the Linux console). | ||||
* | tui_show_menu(): Fix scrolling | P. J. McDermott | 2015-10-29 | 1 | -3/+3 |
| | |||||
* | tui_show_menu(): Set ${scrpos} on KEY_UP, KEY_DOWN, and KEY_END | P. J. McDermott | 2015-10-29 | 1 | -3/+8 |
| | |||||
* | tui_show_prompt(): Limit inserts by input length, not cursor position | P. J. McDermott | 2015-10-29 | 1 | -2/+2 |
| | |||||
* | tui_show_menu(): Don't scroll down beyond list | P. J. McDermott | 2015-10-29 | 1 | -1/+2 |
| | |||||
* | tui_show_menu(): Implement (incomplete) | P. J. McDermott | 2015-10-29 | 1 | -0/+142 |
| | |||||
* | tui_show_prompt(): Handle KEY_HOME and KEY_END | P. J. McDermott | 2015-10-29 | 1 | -0/+6 |
| | |||||
* | tui_show_prompt(): Shorten arrow key cases | P. J. McDermott | 2015-10-29 | 1 | -6/+4 |
| | |||||
* | tui_show_prompt(): Implement KEY_BACKSPACE line editing | P. J. McDermott | 2015-10-29 | 1 | -4/+11 |
| | |||||
* | tui_show_prompt(): Implement line editing | P. J. McDermott | 2015-10-29 | 1 | -13/+53 |
| | |||||
* | tui_show_prompt(): Handle all unused KEY_*s | P. J. McDermott | 2015-10-29 | 1 | -3/+2 |
| | |||||
* | tui_show_prompt(): Handle arrow keys | P. J. McDermott | 2015-10-29 | 1 | -1/+15 |
| | |||||
* | tui_show_prompt(): Enforce range on cursor position | P. J. McDermott | 2015-10-29 | 1 | -6/+12 |
| | |||||
* | _tui_dialog(): Use line on top of warning icon | P. J. McDermott | 2015-10-29 | 1 | -1/+4 |
| | |||||
* | cli_show_prompt(): Accept len argument | P. J. McDermott | 2015-10-28 | 1 | -1/+2 |
| | |||||
* | tui_show_prompt(): Handle KEY_INVALID | P. J. McDermott | 2015-10-28 | 1 | -1/+3 |
| | |||||
* | tui_show_prompt(): Handle KEY_BACKSPACE, KEY_DEL, KEY_SPACE | P. J. McDermott | 2015-10-28 | 1 | -0/+10 |
| | |||||
* | tui_show_prompt(): Implement (line editing missing) | P. J. McDermott | 2015-10-28 | 1 | -1/+84 |
| | |||||
* | _tui_box(): Remove a printf | P. J. McDermott | 2015-10-28 | 1 | -1/+1 |
| | |||||
* | _tui_box(): Output position | P. J. McDermott | 2015-10-28 | 1 | -3/+7 |
| | |||||
* | src/ui/tui.sh: New file | P. J. McDermott | 2015-10-28 | 2 | -1/+179 |
| | |||||
* | resume_ui(): Drop | P. J. McDermott | 2015-10-28 | 1 | -5/+0 |
| | | | | | We won't temporarily leave the UI to run a shell as originally planned, so this function won't be necessary. | ||||
* | show_prompt(): New function | P. J. McDermott | 2015-10-28 | 1 | -0/+16 |
| | |||||
* | cli_dbg(), cli_info(): Don't print messages | P. J. McDermott | 2015-10-28 | 1 | -8/+2 |
| | |||||
* | cli_show_menu(): Print newline before returning | P. J. McDermott | 2015-10-28 | 1 | -0/+1 |
| | |||||
* | ui/cli: Fix tty output | P. J. McDermott | 2015-10-28 | 1 | -11/+13 |
| | | | | | dbg() calls in flashrom_probe() were writing to a "not a tty" file because stdin is redirected. | ||||
* | ui/cli: Write all output to terminal | P. J. McDermott | 2015-10-28 | 1 | -4/+4 |
| | |||||
* | ui: Add UI init, exit, and resume functions | P. J. McDermott | 2015-10-27 | 1 | -0/+15 |
| | | | | Will be used with TUI. | ||||
* | cli_show_menu(): New function | P. J. McDermott | 2015-10-27 | 1 | -0/+37 |
| | |||||
* | ui/cli: Write warnings and errors to stderr | P. J. McDermott | 2015-10-27 | 1 | -8/+8 |
| | | | | Also put dbg() before other functions. | ||||
* | Add UI support | P. J. McDermott | 2015-10-27 | 2 | -0/+50 |
Also remove src/foo.sh. |