summaryrefslogtreecommitdiffstats
path: root/src/ui
Commit message (Collapse)AuthorAgeFilesLines
* tui_show_prompt(): Add a Cancel buttonP. J. McDermott2015-10-301-2/+17
|
* tui_show_menu(): Add a Cancel buttonP. J. McDermott2015-10-301-3/+18
|
* tui_show_menu(): Output selected optionP. J. McDermott2015-10-301-0/+1
| | | | Uhh, oops.
* tui_info(): Write message to terminalP. J. McDermott2015-10-301-1/+4
|
* _tui_dialog(): Support info dialogsP. J. McDermott2015-10-301-0/+5
|
* cli_info(): Write message to terminalP. J. McDermott2015-10-301-1/+4
|
* tui_show_prompt(): Place cursor at end of default inputP. J. McDermott2015-10-291-1/+3
|
* cli_show_prompt(): Show default valueP. J. McDermott2015-10-291-1/+5
|
* show_menu(): Add initial value parameterP. J. McDermott2015-10-292-5/+6
|
* message(): New functionP. J. McDermott2015-10-292-2/+31
|
* tui_show_prompt(): Hide cursor after KEY_ENTER from inputP. J. McDermott2015-10-291-1/+4
|
* tui_show_menu(): Add Vim-style key bindingsP. J. McDermott2015-10-291-4/+4
|
* _tui_box(): Fix coordinate offsetsP. J. McDermott2015-10-291-2/+2
| | | | Rows and columns are counted from 1.
* _tui_dialog(): Don't use SGR underline with iconsP. J. McDermott2015-10-291-19/+2
| | | | | The Linux console handles SGR parameter 4 with color instead of an underline.
* tui_show_prompt(): Draw box, not underlined fieldP. J. McDermott2015-10-291-13/+15
| | | | | The Linux console handles SGR parameter 4 with color instead of an underline.
* _tui_box(): Reset SGR before clearing screenP. J. McDermott2015-10-291-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 scrollingP. J. McDermott2015-10-291-3/+3
|
* tui_show_menu(): Set ${scrpos} on KEY_UP, KEY_DOWN, and KEY_ENDP. J. McDermott2015-10-291-3/+8
|
* tui_show_prompt(): Limit inserts by input length, not cursor positionP. J. McDermott2015-10-291-2/+2
|
* tui_show_menu(): Don't scroll down beyond listP. J. McDermott2015-10-291-1/+2
|
* tui_show_menu(): Implement (incomplete)P. J. McDermott2015-10-291-0/+142
|
* tui_show_prompt(): Handle KEY_HOME and KEY_ENDP. J. McDermott2015-10-291-0/+6
|
* tui_show_prompt(): Shorten arrow key casesP. J. McDermott2015-10-291-6/+4
|
* tui_show_prompt(): Implement KEY_BACKSPACE line editingP. J. McDermott2015-10-291-4/+11
|
* tui_show_prompt(): Implement line editingP. J. McDermott2015-10-291-13/+53
|
* tui_show_prompt(): Handle all unused KEY_*sP. J. McDermott2015-10-291-3/+2
|
* tui_show_prompt(): Handle arrow keysP. J. McDermott2015-10-291-1/+15
|
* tui_show_prompt(): Enforce range on cursor positionP. J. McDermott2015-10-291-6/+12
|
* _tui_dialog(): Use line on top of warning iconP. J. McDermott2015-10-291-1/+4
|
* cli_show_prompt(): Accept len argumentP. J. McDermott2015-10-281-1/+2
|
* tui_show_prompt(): Handle KEY_INVALIDP. J. McDermott2015-10-281-1/+3
|
* tui_show_prompt(): Handle KEY_BACKSPACE, KEY_DEL, KEY_SPACEP. J. McDermott2015-10-281-0/+10
|
* tui_show_prompt(): Implement (line editing missing)P. J. McDermott2015-10-281-1/+84
|
* _tui_box(): Remove a printfP. J. McDermott2015-10-281-1/+1
|
* _tui_box(): Output positionP. J. McDermott2015-10-281-3/+7
|
* src/ui/tui.sh: New fileP. J. McDermott2015-10-282-1/+179
|
* resume_ui(): DropP. J. McDermott2015-10-281-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 functionP. J. McDermott2015-10-281-0/+16
|
* cli_dbg(), cli_info(): Don't print messagesP. J. McDermott2015-10-281-8/+2
|
* cli_show_menu(): Print newline before returningP. J. McDermott2015-10-281-0/+1
|
* ui/cli: Fix tty outputP. J. McDermott2015-10-281-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 terminalP. J. McDermott2015-10-281-4/+4
|
* ui: Add UI init, exit, and resume functionsP. J. McDermott2015-10-271-0/+15
| | | | Will be used with TUI.
* cli_show_menu(): New functionP. J. McDermott2015-10-271-0/+37
|
* ui/cli: Write warnings and errors to stderrP. J. McDermott2015-10-271-8/+8
| | | | Also put dbg() before other functions.
* Add UI supportP. J. McDermott2015-10-272-0/+50
Also remove src/foo.sh.