blob: 7f259ae10389dc67f4af5540d1f67842c9a4d280 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-ac,v 1.4 2003/07/12 10:07:35 wiz Exp $
--- src/curses_client/curses_client.c.orig Fri Jun 6 21:13:04 2003
+++ src/curses_client/curses_client.c
@@ -45,7 +45,6 @@
#include "tstring.h"
static int ResizedFlag;
-static SCREEN *cur_screen;
#define PromptAttr (COLOR_PAIR(1))
#define TextAttr (COLOR_PAIR(2))
@@ -112,7 +111,7 @@ static gboolean QuitRequest, WantColour
*/
static void start_curses(void)
{
- cur_screen = newterm(NULL, stdout, stdin);
+ initscr();
if (WantColour) {
start_color();
init_pair(1, COLOR_MAGENTA, COLOR_WHITE);
|