forked from mirror/OpenTTD
Add: Basic autocompletion on tab for console commands (#12163)
This commit is contained in:
@@ -29,6 +29,7 @@ bool strtolower(std::string &str, std::string::size_type offs = 0);
|
||||
|
||||
[[nodiscard]] bool StrValid(const char *str, const char *last) NOACCESS(2);
|
||||
void StrTrimInPlace(std::string &str);
|
||||
std::string_view StrTrimView(std::string_view str);
|
||||
|
||||
[[nodiscard]] bool StrStartsWithIgnoreCase(std::string_view str, const std::string_view prefix);
|
||||
[[nodiscard]] bool StrEndsWithIgnoreCase(std::string_view str, const std::string_view suffix);
|
||||
|
Reference in New Issue
Block a user