diff options
author | 1997-07-27 14:57:31 +0000 | |
---|---|---|
committer | 1997-07-27 14:57:31 +0000 | |
commit | dc6b3a12e9ffdb63de401e28edbf406996338163 (patch) | |
tree | e41aaa540bab7392cb31cc2ae682db7d411ebd0f | |
parent | crank major, due to the arc libc messup (diff) | |
download | wireguard-openbsd-dc6b3a12e9ffdb63de401e28edbf406996338163.tar.xz wireguard-openbsd-dc6b3a12e9ffdb63de401e28edbf406996338163.zip |
arrgh! (sigh) (*sniffle*)
Fix insert char to erase more than one char in the newly created empty
space past the insertion point.
-rw-r--r-- | sys/arch/alpha/wscons/wscons_emul.c | 6 | ||||
-rw-r--r-- | sys/dev/wscons/wscons_emul.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sys/arch/alpha/wscons/wscons_emul.c b/sys/arch/alpha/wscons/wscons_emul.c index aafe9fb3d4b..ad208c90700 100644 --- a/sys/arch/alpha/wscons/wscons_emul.c +++ b/sys/arch/alpha/wscons/wscons_emul.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wscons_emul.c,v 1.6 1997/07/10 23:12:19 kstailey Exp $ */ +/* $OpenBSD: wscons_emul.c,v 1.7 1997/07/27 14:57:31 kstailey Exp $ */ /* $NetBSD: wscons_emul.c,v 1.7 1996/11/19 05:23:13 cgd Exp $ */ /* @@ -364,9 +364,11 @@ wscons_emul_docontrol(we, c) (*we->ac_ef->wef_erasecols)(we->ac_efa, we->ac_crow, we->ac_ccol, - we->ac_ncol - (we->ac_ccol + copy_ncols)); + copy_ncols - we->ac_ccol); } break; + case 'm': /* video attributes */ + break; } } diff --git a/sys/dev/wscons/wscons_emul.c b/sys/dev/wscons/wscons_emul.c index aafe9fb3d4b..ad208c90700 100644 --- a/sys/dev/wscons/wscons_emul.c +++ b/sys/dev/wscons/wscons_emul.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wscons_emul.c,v 1.6 1997/07/10 23:12:19 kstailey Exp $ */ +/* $OpenBSD: wscons_emul.c,v 1.7 1997/07/27 14:57:31 kstailey Exp $ */ /* $NetBSD: wscons_emul.c,v 1.7 1996/11/19 05:23:13 cgd Exp $ */ /* @@ -364,9 +364,11 @@ wscons_emul_docontrol(we, c) (*we->ac_ef->wef_erasecols)(we->ac_efa, we->ac_crow, we->ac_ccol, - we->ac_ncol - (we->ac_ccol + copy_ncols)); + copy_ncols - we->ac_ccol); } break; + case 'm': /* video attributes */ + break; } } |