From 1875c12734938595033715a948f50b05b76bca3d Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 15 Apr 2008 16:49:55 +0000 Subject: 24819: fix transposing characters and sneaky combination generation --- Src/Zle/zle_utils.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Src/Zle/zle_utils.c') diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c index cd8e2b26c..7d29bd649 100644 --- a/Src/Zle/zle_utils.c +++ b/Src/Zle/zle_utils.c @@ -551,6 +551,7 @@ backkill(int ct, int flags) cut(i, ct, flags); shiftchars(i, ct); + CCRIGHT(); } /**/ @@ -569,6 +570,7 @@ forekill(int ct, int flags) cut(i, ct, flags); shiftchars(i, ct); + CCRIGHT(); } /**/ @@ -588,6 +590,7 @@ backdel(int ct, int flags) DECCS(); shiftchars(zlecs, origcs - zlecs); } + CCRIGHT(); } /**/ @@ -603,13 +606,14 @@ foredel(int ct, int flags) } else { int origcs = zlecs; int n = ct; - DPUTS(zlemetaline != NULL, "backdel needs CUT_RAW when metafied"); + DPUTS(zlemetaline != NULL, "foredel needs CUT_RAW when metafied"); while (n--) INCCS(); ct = zlecs - origcs; zlecs = origcs; shiftchars(zlecs, ct); } + CCRIGHT(); } /**/ @@ -634,6 +638,7 @@ setline(char *s, int flags) DECCS(); else if (zlecs > zlell) zlecs = zlell; + CCRIGHT(); if (flags & ZSL_COPY) free(scp); -- cgit 1.4.1