blob: 2fdd854c808323bf748679b25915404bcb610e41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ae,v 1.2 2014/11/21 13:47:47 mef Exp $
(from the commit log)
date: 2010-02-25 03:08:12 +0900; author: drochner; state: Exp;
-Set the keyboard mode to raw() explicitely. ncurses seems to do
this in some magical way, didn't find a hint in documentation.
--- src/ncu.c.orig 2009-09-24 14:05:30.000000000 +0000
+++ src/ncu.c
@@ -58,6 +58,7 @@ ncu_init(void)
/* enable extra keys */
keypad(stdscr, TRUE);
+ raw();
/* initialize mouse support */
#ifdef HAVE_GETMOUSE
|