summaryrefslogtreecommitdiff
path: root/Src/Zle/zle_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle/zle_main.c')
-rw-r--r--Src/Zle/zle_main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c
index bb5b5156c..440f0cf8a 100644
--- a/Src/Zle/zle_main.c
+++ b/Src/Zle/zle_main.c
@@ -1344,6 +1344,12 @@ execzlefunc(Thingy func, char **args, int set_bindk)
}
if (set_bindk)
bindk = save_bindk;
+ /*
+ * Goodness knows where the user's left us; make sure
+ * it's not on a combining character that won't be displayed
+ * directly.
+ */
+ CCRIGHT();
return ret;
}