Fix #10073: Stop truncating output of list_ai and friends commands

This commit is contained in:
Charles Pigott
2022-10-10 12:19:58 +01:00
parent 24f3022ee0
commit 9059215b3b
8 changed files with 38 additions and 42 deletions

View File

@@ -57,7 +57,7 @@ public:
/**
* Get the list of registered scripts to print on the console.
*/
char *GetConsoleList(char *p, const char *last, bool newest_only) const;
std::string GetConsoleList(bool newest_only) const;
/**
* Check whether we have a script with the exact characteristics as ci.