summaryrefslogtreecommitdiff
path: root/screen.c
blob: 34b27f3cca1da47c576ae746bbf3a7f17de22916 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <curses.h>

#include "screen.h"

WINDOW *screen_init(bool israw)
{
	WINDOW *screen = initscr();

	if (israw)
		raw();
	noecho();
	cbreak();
	nodelay(screen, TRUE);
	keypad(stdscr, TRUE);
	refresh();
	wrefresh(screen);

	return screen;
}

void screen_end(void)
{
	endwin();
}
'diffstat'>-rw-r--r--include/linux/netdev_features.h2
-rw-r--r--include/linux/netdevice.h3
-rw-r--r--net/core/dev.c15
-rw-r--r--net/core/ethtool.c1
4 files changed, 0 insertions, 21 deletions
diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h