summaryrefslogtreecommitdiff
path: root/src/Screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cpp')
-rw-r--r--src/Screen.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Screen.cpp b/src/Screen.cpp
index 40a31d1..54033f7 100644
--- a/src/Screen.cpp
+++ b/src/Screen.cpp
@@ -9,9 +9,11 @@ Screen::Screen()
keypad(stdscr,TRUE);
curs_set(0);
getmaxyx(stdscr,height,width);
-
+
start_color();
- init_pair(1, COLOR_GREEN, COLOR_RED);
+ init_pair(1, COLOR_GREEN, COLOR_BLACK);
+ init_pair(2, COLOR_YELLOW,COLOR_BLACK);
+ init_pair(3, COLOR_WHITE, COLOR_WHITE);
}
Screen::~Screen()
@@ -20,7 +22,7 @@ Screen::~Screen()
}
void Screen::ping(string msg)
-{
+{
const char * cmsg = msg.c_str();
printw(cmsg);
}