From b489fceaeaba88721a314840d30a5d6d51d1ddcb Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Sat, 2 Sep 2023 03:22:10 -0700 Subject: [PATCH] clarify error message about the terminal --- library/Core.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/library/Core.cpp b/library/Core.cpp index fd5dc7f65..353e99ef3 100644 --- a/library/Core.cpp +++ b/library/Core.cpp @@ -1249,7 +1249,14 @@ command_result Core::runCommand(color_ostream &con, const std::string &first_, s } else if (res == CR_NEEDS_CONSOLE) con.printerr("%s needs an interactive console to work.\n" - "Please run this command from the DFHack terminal.\n", first.c_str()); + "Please run this command from the DFHack terminal.\n\n" +#ifdef WIN32 + "You can show the terminal with the 'show' command." +#else + "The terminal is accessible when you run DF from the commandline\n" + "via the './dfhack' script." +#endif + "\n", first.c_str()); return res; }