diff options
author | Mateusz Czapliński <czapkofan@gmail.com> | 2018-10-26 01:28:58 +0200 |
---|---|---|
committer | Mateusz Czapliński <czapkofan@gmail.com> | 2018-10-26 01:28:58 +0200 |
commit | 0a2293dc0bf3012dc0566e9e8c58986f7372d95c (patch) | |
tree | 53f4eaa306ec71af00f1720092f3730847007435 | |
parent | 295bee2d4d63f60c4e46c1e563ca647d0ca62e2e (diff) |
fix restart on Ctrl-Qv0.2.1
Broken after changing the logic for "Enter to run" feature.
-rw-r--r-- | up.gif | bin | 670722 -> 176182 bytes | |||
-rw-r--r-- | up.go | 4 |
2 files changed, 2 insertions, 2 deletions
Binary files differ @@ -34,7 +34,7 @@ import ( "github.com/spf13/pflag" ) -const version = "0.2 (2018-10-25)" +const version = "0.2.1 (2018-10-25)" // 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 @@ -181,7 +181,7 @@ func main() { case key(tcell.KeyCtrlQ), ctrlKey(tcell.KeyCtrlQ): stdinCapture.Pause(false) - lastCommand = ":" // Make sure we restart current command + restart = true case key(tcell.KeyCtrlC), ctrlKey(tcell.KeyCtrlC), key(tcell.KeyCtrlD), |