diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:48 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:48 +0200 |
| commit | 5a019f435eb0068b524566d9babf172d58d0e96e (patch) | |
| tree | b083dccdfbec4335a5967d50c4294f7501c77345 /src/ncur/ncur.cpp | |
| parent | 4ecbf33fae730bc79c4a47e6efda615b104754ad (diff) | |
tagging ychat-0.7.9.2ychat-0.7.9.2
Diffstat (limited to 'src/ncur/ncur.cpp')
| -rwxr-xr-x | src/ncur/ncur.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ncur/ncur.cpp b/src/ncur/ncur.cpp index 9196111..9b0996c 100755 --- a/src/ncur/ncur.cpp +++ b/src/ncur/ncur.cpp @@ -212,7 +212,7 @@ ncur::switch_main_menu_( int i_choice ) def_prog_mode(); /* Save the tty modes */ endwin(); /* End curses mode temporarily */ - new cli(); /* Start CLI mode */ + delete new cli(); /* Start CLI mode */ reset_prog_mode(); /* Return to the previous tty mode*/ /* stored by def_prog_mode() */ refresh(); /* Do refresh() to restore the */ @@ -253,8 +253,9 @@ ncur::init_ncurses() clear(); noecho(); cbreak(); // Line buffering disabled. pass on everything - init_pair(1, COLOR_WHITE, COLOR_BLUE); + init_pair(1, COLOR_BLACK, COLOR_CYAN); mvprintw( 0,2, (char*)(tool::ychat_version()).c_str()); + curs_set(0); refresh(); } |
