3 --- screen.c.orig Tue Jun 6 20:53:24 2000
6 struct window info_win;
7 static chtype *curs_buf;
8 extern int screen_cols;
9 +int old_cur_vis = 1; /* this is the cursor mode, set to normal as default */
16 wattrset(users_list.wd, A_BOLD);
17 - printf("\033[?25l"); /* disable cursor */
18 + old_cur_vis = curs_set(0); /* disable cursor */
21 init_pair(1,COLOR_CYAN,COLOR_BLACK);
26 + keypad(info_win.wd, TRUE);
27 scrollok(users_list.wd,TRUE);
32 wrefresh(help_win.wd);
34 - printf("\033[?25h"); /* enable cursor */
35 + curs_set(old_cur_vis); /* enable cursor */
38 void cursor_on(struct window *w, int line)
40 if (i > w->cols) break;
43 - waddnstr(w->wd, q, p - q);
45 + waddnstr(w->wd, q, p - q);
46 wattrset(w->wd, COLOR_PAIR(*p));