summaryrefslogtreecommitdiff
path: root/japanese/kterm/files/patch-charproc.c
blob: f2686d39232d5316654f87f19c6e44e38eca33a9 (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	2016-11-04 21:41:21 UTC
+++ charproc.c
@@ -103,8 +103,8 @@ extern jmp_buf VTend;
 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;
@@ -1974,6 +1974,12 @@ static void VTparse()
 			}
 			parsestate = groundtable;
 			break;
+
+                 case CASE_ECH:
+                        /* ECH */
+                        ClearRightN(screen, param[0] < 1 ? 1 : param[0]);
+                        parsestate = groundtable;
+                        break;
 
 		 case CASE_IL:
 			/* IL */