Core/Console: rename console
This commit is contained in:
parent
1c9eb7e52f
commit
cbaafa9be5
2 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue