1 /* Public Domain Curses */
5 RCSID("$Id: pdcgetsc.c,v 1.8 2008/07/14 04:24:52 wmcbrine Exp $")
7 /* get the cursor size/shape */
9 int PDC_get_cursor_mode(void)
11 PDC_LOG(("PDC_get_cursor_mode() - called\n"));
16 /* return number of screen rows */
18 int PDC_get_rows(void)
20 PDC_LOG(("PDC_get_rows() - called\n"));
22 return pdc_sheight
/ pdc_fheight
;
25 /* return width of screen/viewport */
27 int PDC_get_columns(void)
29 PDC_LOG(("PDC_get_columns() - called\n"));
31 return pdc_swidth
/ pdc_fwidth
;