rt->pd->scrolltop = 0;
rt->pd->scrollbottom = rt->rows - 1;
-#ifdef DEBUG
- fprintf(stderr, "Created a %d x %d terminal.\n", rt->rows, rt->cols);
-#endif
-
return rt;
}
if (ROTE_ATTR_BLINK(attr)) wattron(win, A_BLINK);
}
-#endif
-
-static inline unsigned char ensure_printable(unsigned char ch)
-{ return ch >= 32 ? ch : 32; }
-
-#ifdef USE_NCURSES
+static inline unsigned char ensure_printable(unsigned char ch)
+{
+ return ch >= 32 ? ch : 32;
+}
void rote_vt_draw(RoteTerm *rt, WINDOW *win, int srow, int scol,
void (*cur_set_attr)(WINDOW*,unsigned char)) {