summaryrefslogtreecommitdiff
path: root/japanese/kterm/files/patch-ac
blob: a37725781bb9e26276347640554509a06adec53a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- charproc.c.orig	Tue Jul  2 04:34:14 2002
+++ charproc.c	Tue Jul  2 04:34:29 2002
@@ -102,8 +102,8 @@
 extern XtAppContext app_con;
 extern Widget toplevel;
 extern void exit();
-extern char *malloc();
-extern char *realloc();
+extern void *malloc();
+extern void *realloc();
 extern fd_set Select_mask;
 extern fd_set X_mask;
 extern fd_set pty_mask;
@@ -1837,6 +1837,12 @@
 			parsestate = groundtable;
 			break;
 
+                 case CASE_ECH:
+                        /* ECH */
+                        ClearRightN(screen, param[0] < 1 ? 1 : param[0]);
+                        parsestate = groundtable;
+                        break;
+
 		 case CASE_IL:
 			/* IL */
 			if((row = param[0]) < 1)