summaryrefslogtreecommitdiff
path: root/src/map/map.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-02-07 21:40:00 -0800
committerBen Longbons <b.r.longbons@gmail.com>2014-02-07 21:42:43 -0800
commit7a15a3efe85837d52d950cc9f895eadcc9eb6be1 (patch)
treed941f22af3d524eec70382d8470f3f14418916fa /src/map/map.cpp
parentf6a91ce07b382dd79c1e42dbc84e2694d83cfc01 (diff)
downloadtmwa-7a15a3efe85837d52d950cc9f895eadcc9eb6be1.tar.gz
tmwa-7a15a3efe85837d52d950cc9f895eadcc9eb6be1.tar.bz2
tmwa-7a15a3efe85837d52d950cc9f895eadcc9eb6be1.tar.xz
tmwa-7a15a3efe85837d52d950cc9f895eadcc9eb6be1.zip
Name the terminal escapes
Diffstat (limited to 'src/map/map.cpp')
-rw-r--r--src/map/map.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp
index 2600412..8a1d8eb 100644
--- a/src/map/map.cpp
+++ b/src/map/map.cpp
@@ -16,8 +16,9 @@
#include "../strings/vstring.hpp"
#include "../io/cxxstdio.hpp"
-#include "../io/write.hpp"
#include "../io/read.hpp"
+#include "../io/tty.hpp"
+#include "../io/write.hpp"
#include "../common/config_parse.hpp"
#include "../common/core.hpp"
@@ -1733,9 +1734,9 @@ int do_init(int argc, ZString *argv)
npc_event_do_oninit(); // npcのOnInitイベント実行
if (battle_config.pk_mode == 1)
- PRINTF("The server is running in \033[1;31mPK Mode\033[0m.\n");
+ PRINTF("The server is running in " SGR_BOLD SGR_RED "PK Mode" SGR_RESET "\n");
- PRINTF("The map-server is \033[1;32mready\033[0m (Server is listening on the port %d).\n\n",
+ PRINTF("The map-server is " SGR_BOLD SGR_GREEN "ready" SGR_RESET " (Server is listening on the port %d).\n\n",
clif_getport());
return 0;