Plan 9 from Bell Labs’s /usr/web/sources/contrib/fgb/root/sys/src/ape/lib/curses/plan9/pdcgetsc.c

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#include <curspriv.h>
#include "pdcplan9.h"

int PDC_get_columns(void)
{
	int i;

	i = p9getcols();
	PDC_LOG(("PDC_get_columns() returns: %d\n", i));
	return i;
}


int PDC_get_cursor_mode(void)
{
	PDC_LOG(("PDC_get_cursor_mode() - called\n"));
	return 0;
}


int PDC_get_rows(void)
{
	int i;

	i = p9getrows();
	PDC_LOG(("PDC_get_rows() - returns: %d\n", i));
	return i;
}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].