1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/japanese/kterm/files/patch-charproc.c
2024-01-08 02:30:34 +09:00

27 lines
704 B
C

--- 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 */