summaryrefslogtreecommitdiff
path: root/src/curses/initscr.c
blob: 884d31f81c421d4189b70bfa24b7b106e5a73d4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <curses.h>
#include <stdio.h>
#include <stdlib.h>

WINDOW * initscr(void)
{
	(void)newterm(getenv("TERM"), stdout, stdin);
	return stdscr;
}

/*
XOPEN(4)
LINK(curses)
*/