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();
}
<hubcap@omnibond.com>2016-10-03 13:13:13 -0400 commit5891b4fe6387c3d86400ed4174d7c7389b784a97 (patch) tree20915bb2586b22567d408c753bba346f131fa759 /Documentation parenta21aae3bb15a1d08040bdcf5a73504c0da9f5080 (diff)parentb78b11985a36bfe768add17ffb70bbaf9d8d7627 (diff)
Merge tag 'for-hubcap-v4.9-more' into for-next
orangefs: miscellaneous improvements and feature negotiation Two OrangeFS updates: "Pull in an OrangeFS branch containing miscellaneous improvements. - clean up debugfs globals - remove dead code in sysfs - reorganize duplicated sysfs attribute structs - consolidate sysfs show and store functions - remove duplicated sysfs_ops structures - describe organization of sysfs - make devreq_mutex static - g_orangefs_stats -> orangefs_stats for consistency - rename most remaining global variables" "Pull in an OrangeFS branch containing improvements which the userspace component and the kernel to negotiate mutually supported features."
Diffstat (limited to 'Documentation')