about summary refs log tree commit diff
path: root/Src/Zle/zle_main.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-04-16 09:59:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-04-16 09:59:32 +0000
commitbd79dd923832b364a5448554dafce7a22bac773a (patch)
treeaea70e6470c3b19e84b1f9bb310527c3bb92fd8f /Src/Zle/zle_main.c
parent1875c12734938595033715a948f50b05b76bca3d (diff)
downloadzsh-bd79dd923832b364a5448554dafce7a22bac773a.tar.gz
zsh-bd79dd923832b364a5448554dafce7a22bac773a.tar.xz
zsh-bd79dd923832b364a5448554dafce7a22bac773a.zip
24821: update notes in FAQ on combining characters,
fix up cursor on exit from user-defined widget
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;
 }