Sha256: 26e8fe58a198eb7b075236148d558eb76f46f075fab2a5049d9f23d5b463278b

Contents?: true

Size: 406 Bytes

Versions: 8

Compression:

Stored size: 406 Bytes

Contents

/* Public Domain Curses */

#include "pdcx11.h"

/* return width of screen/viewport */

int PDC_get_columns(void)
{
    PDC_LOG(("PDC_get_columns() - called\n"));

    return XCursesCOLS;
}

/* get the cursor size/shape */

int PDC_get_cursor_mode(void)
{
    return 0;
}

/* return number of screen rows */

int PDC_get_rows(void)
{
    PDC_LOG(("PDC_get_rows() - called\n"));

    return XCursesLINES;
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
curses-1.4.7 vendor/PDCurses/x11/pdcgetsc.c
curses-1.4.5 vendor/PDCurses/x11/pdcgetsc.c
curses-1.4.4 vendor/PDCurses/x11/pdcgetsc.c
curses-1.4.4.beta.1 vendor/PDCurses/x11/pdcgetsc.c
curses-1.4.3 vendor/PDCurses/x11/pdcgetsc.c
curses-1.4.2 vendor/PDCurses/x11/pdcgetsc.c
curses-1.4.1 vendor/PDCurses/x11/pdcgetsc.c
curses-1.4.0 vendor/PDCurses/x11/pdcgetsc.c