Skip to content

Commit c57c5fa

Browse files
committed
Fix up arrow automatically executing the previous command
1 parent 8e80353 commit c57c5fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/EditWindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ const char *idEditWindow::HandleEvent(const sysEvent_t *event, bool *updateVisua
597597
text = cmdHistory[cmdIndex].c_str();
598598
cursorPos = cmdHistory[cmdIndex].Length() ;
599599

600-
return cmd;
600+
return ret; // flibit changed this from cmd to ret, cmd could be "deckcommand" which is wrong
601601
}
602602
}
603603

0 commit comments

Comments
 (0)