diff --git a/plugins/command-prompt.cpp b/plugins/command-prompt.cpp index 042d5f642..21bf69b01 100644 --- a/plugins/command-prompt.cpp +++ b/plugins/command-prompt.cpp @@ -314,6 +314,7 @@ command_result show_prompt(color_ostream &out, std::vector & param if (Gui::getCurFocus() == "dfhack/commandprompt") { Screen::dismiss(Gui::getCurViewscreen(true)); + return CR_OK; } std::string params; for(size_t i=0;i