version 1.7, 2000/12/30 06:27:48 |
version 1.8, 2000/12/31 00:24:51 |
|
|
xwin_t his_win; |
xwin_t his_win; |
WINDOW *line_win; |
WINDOW *line_win; |
|
|
#undef isprint |
|
#define isprint(n) ((unsigned char)(n)>31) |
|
|
|
int curses_initialized = 0; |
int curses_initialized = 0; |
|
int high_print = 0; |
|
|
/* |
/* |
* max HAS to be a function, it is called with |
* max HAS to be a function, it is called with |
|
|
/* check for wraparound */ |
/* check for wraparound */ |
xscroll(win, 0); |
xscroll(win, 0); |
} |
} |
if (!isprint(*text) && *text != '\t') { |
if (*text != '\t' && |
|
((!high_print && !isprint(*text)) || iscntrl(*text))) { |
waddch(win->x_win, '^'); |
waddch(win->x_win, '^'); |
getyx(win->x_win, win->x_line, win->x_col); |
getyx(win->x_win, win->x_line, win->x_col); |
if (win->x_col == COLS-1) /* check for wraparound */ |
if (win->x_col == COLS-1) /* check for wraparound */ |