- text filter update
- query/find code cleanup
- fixed snprintf related bugs
+ - minor bugfixes
0.4.12
- added man page for abookrc (Alan Ford)
return ui_initialized;
}
-
-int
-init_ui()
+void
+ui_init_curses()
{
- initscr(); cbreak(); noecho();
+ if(!is_ui_initialized())
+ initscr();
+ cbreak();
+ noecho();
nonl();
intrflush(stdscr, FALSE);
keypad(stdscr, TRUE);
+}
+
+int
+init_ui()
+{
+ ui_init_curses();
#ifdef DEBUG
fprintf(stderr, "init_abook():\n");
fprintf(stderr, " COLS = %d, LINES = %d\n", COLS, LINES);