summaryrefslogtreecommitdiff
path: root/src/ncur
diff options
context:
space:
mode:
Diffstat (limited to 'src/ncur')
-rw-r--r--src/ncur/CVS/Entries8
-rwxr-xr-xsrc/ncur/ncur.cpp5
-rwxr-xr-xsrc/ncur/ncur.h4
3 files changed, 8 insertions, 9 deletions
diff --git a/src/ncur/CVS/Entries b/src/ncur/CVS/Entries
index 9f83c6c..62769f5 100644
--- a/src/ncur/CVS/Entries
+++ b/src/ncur/CVS/Entries
@@ -1,5 +1,5 @@
-/menu.cpp/1.7/Fri Jan 7 21:00:19 2005//
-/menu.h/1.5/Fri Jan 7 21:00:19 2005//
-/ncur.cpp/1.21/Mon Feb 14 17:33:09 2005//
-/ncur.h/1.8/Fri Jan 7 21:00:19 2005//
+/menu.cpp/1.8/Mon Feb 21 01:55:50 2005//
+/menu.h/1.6/Mon Feb 21 01:55:50 2005//
+/ncur.cpp/1.23/Fri Mar 4 02:41:30 2005//
+/ncur.h/1.10/Fri Mar 4 02:41:30 2005//
D
diff --git a/src/ncur/ncur.cpp b/src/ncur/ncur.cpp
index 9b0996c..9196111 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 */
- delete new cli(); /* Start CLI mode */
+ 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,9 +253,8 @@ ncur::init_ncurses()
clear();
noecho();
cbreak(); // Line buffering disabled. pass on everything
- init_pair(1, COLOR_BLACK, COLOR_CYAN);
+ init_pair(1, COLOR_WHITE, COLOR_BLUE);
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 1830cdf..e5627c8 100755
--- a/src/ncur/ncur.h
+++ b/src/ncur/ncur.h
@@ -29,8 +29,8 @@ private:
pthread_mutex_t mut_is_ready;
public:
- ncur();
- ~ncur();
+ ncur( ); // a standard constructor.
+ ~ncur( );
void start( void *p_void );
void print( char* c_print );