drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git] / payloads / libpayload / curses / PDCurses / x11 / pdcgetsc.c
blob8f7c0ad91f76cb42246abbee62414026b3470c89
1 /* Public Domain Curses */
3 #include "pdcx11.h"
5 RCSID("$Id: pdcgetsc.c,v 1.26 2008/07/14 04:24:52 wmcbrine Exp $")
7 /* return width of screen/viewport */
9 int PDC_get_columns(void)
11 PDC_LOG(("PDC_get_columns() - called\n"));
13 return XCursesCOLS;
16 /* get the cursor size/shape */
18 int PDC_get_cursor_mode(void)
20 return 0;
23 /* return number of screen rows */
25 int PDC_get_rows(void)
27 PDC_LOG(("PDC_get_rows() - called\n"));
29 return XCursesLINES;