Skip to content

Commit

Permalink
Removed step from command processing
Browse files Browse the repository at this point in the history
  • Loading branch information
mrusme committed Apr 3, 2021
1 parent 10e5648 commit 3b66846
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tui/tui.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ func TUI(tuiCore TUICore) {
SetDoneFunc(func(key tcell.Key) {
if key == tcell.KeyEnter {
cmd := tuiCore.CmdLine.GetText()
tuiCore.CmdLine.SetText("...")
retCode := mast.CmdProcessor(&tuiCore.Timeline, cmd)
tuiCore.CmdLine.SetText("")
retCode := mast.CmdProcessor(&tuiCore.Timeline, cmd)

switch retCode {
case mast.CodeOk:
Expand Down

0 comments on commit 3b66846

Please sign in to comment.