summaryrefslogtreecommitdiff
path: root/src/ncur
diff options
context:
space:
mode:
Diffstat (limited to 'src/ncur')
-rwxr-xr-xsrc/ncur/ncur.cpp5
-rwxr-xr-xsrc/ncur/ncur.h4
2 files changed, 5 insertions, 4 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();
}
diff --git a/src/ncur/ncur.h b/src/ncur/ncur.h
index e5627c8..1830cdf 100755
--- a/src/ncur/ncur.h
+++ b/src/ncur/ncur.h
@@ -29,8 +29,8 @@ private:
pthread_mutex_t mut_is_ready;
public:
- ncur( ); // a standard constructor.
- ~ncur( );
+ ncur();
+ ~ncur();
void start( void *p_void );
void print( char* c_print );