diff options
author | Mateusz Czapliński <czapkofan@gmail.com> | 2018-10-25 22:43:18 +0200 |
---|---|---|
committer | Mateusz Czapliński <czapkofan@gmail.com> | 2018-10-25 22:43:18 +0200 |
commit | 61e1696fe92ab4e08db1c51880e61e492726f4ae (patch) | |
tree | 96bcb972ea57a761d593d30f2a748938a934d700 | |
parent | a2c1d93dac40b5851e18830bdf4b47f918d41620 (diff) |
add more TODOs
-rw-r--r-- | up.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -34,6 +34,8 @@ import ( "github.com/spf13/pflag" ) +// TODO: [#4] in case of error, show it in red (bg?), then below show again initial normal output +// TODO: F1 should display help, and it should be multi-line, and scrolling licensing credits // TODO: some key shortcut to increase stdin capture buffer size (unless EOF already reached) // TODO: show status infos: // - red fg + "up: process returned with error code %d" -- when subprocess returned an error @@ -156,6 +158,9 @@ func main() { switch getKey(ev) { case key(tcell.KeyEnter): restart = true + case key(tcell.KeyCtrlUnderscore), + ctrlKey(tcell.KeyCtrlUnderscore): + // TODO: ask for another character to trigger command-line option, like in `less` case key(tcell.KeyCtrlS), ctrlKey(tcell.KeyCtrlS): |