1 /* Public Domain Curses */
2 /* This file is BSD licensed, Copyright 2011 secunet AG */
8 /* return width of screen/viewport */
10 int PDC_get_columns(void)
14 PDC_LOG(("PDC_get_columns() - called\n"));
19 PDC_LOG(("PDC_get_columns() - returned: cols %d\n", cols
));
24 /* get the cursor size/shape */
26 int PDC_get_cursor_mode(void)
28 PDC_LOG(("PDC_get_cursor_mode() - called\n"));
30 /* only have one cursor type */
31 return SP
->visibility
;
34 /* return number of screen rows */
36 int PDC_get_rows(void)
40 PDC_LOG(("PDC_get_rows() - called\n"));
45 PDC_LOG(("PDC_get_rows() - returned: rows %d\n", rows
));