clarify error message about the terminal

develop
Myk Taylor 2023-09-02 03:22:10 -07:00
parent 9e744de218
commit b489fceaea
No known key found for this signature in database
1 changed files with 8 additions and 1 deletions

@ -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;
}