mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
Core/Console: rename console
This commit is contained in:
@@ -97,7 +97,7 @@ void utf8print(void* /*arg*/, const char* str)
|
||||
|
||||
void commandFinished(void*, bool /*success*/)
|
||||
{
|
||||
printf("TC> ");
|
||||
printf("AC> ");
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@ void CliRunnable::run()
|
||||
|
||||
// print this here the first time
|
||||
// later it will be printed after command queue updates
|
||||
printf("TC>");
|
||||
printf("AC>");
|
||||
|
||||
///- As long as the World is running (no World::m_stopEvent), get the command line and handle it
|
||||
while (!World::IsStopped())
|
||||
@@ -144,7 +144,7 @@ void CliRunnable::run()
|
||||
char commandbuf[256];
|
||||
command_str = fgets(commandbuf, sizeof(commandbuf), stdin);
|
||||
#else
|
||||
command_str = readline("TC>");
|
||||
command_str = readline("AC>");
|
||||
rl_bind_key('\t', rl_complete);
|
||||
#endif
|
||||
|
||||
@@ -160,7 +160,7 @@ void CliRunnable::run()
|
||||
if (!*command_str)
|
||||
{
|
||||
#if PLATFORM == PLATFORM_WINDOWS
|
||||
printf("TC>");
|
||||
printf("AC>");
|
||||
#else
|
||||
free(command_str);
|
||||
#endif
|
||||
@@ -171,7 +171,7 @@ void CliRunnable::run()
|
||||
if (!consoleToUtf8(command_str, command)) // convert from console encoding to utf8
|
||||
{
|
||||
#if PLATFORM == PLATFORM_WINDOWS
|
||||
printf("TC>");
|
||||
printf("AC>");
|
||||
#else
|
||||
free(command_str);
|
||||
#endif
|
||||
|
||||
@@ -355,7 +355,7 @@ int RASocket::svc(void)
|
||||
for (;;)
|
||||
{
|
||||
// show prompt
|
||||
if (send("TC> ") == -1)
|
||||
if (send("AC> ") == -1)
|
||||
return -1;
|
||||
|
||||
std::string line;
|
||||
|
||||
Reference in New Issue
Block a user