diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2002-05-24 15:02:32 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2002-05-24 15:02:32 +0000 |
commit | 9038bdb400ed152c0a1a11a70d9722c4927ec1fc (patch) | |
tree | b37f51ca451ae20f6c017a21fd153ee5bbaec675 | |
parent | 00d476ac200660819c0e534201d7f23bc444f4e4 (diff) | |
download | zsh-9038bdb400ed152c0a1a11a70d9722c4927ec1fc.tar.gz zsh-9038bdb400ed152c0a1a11a70d9722c4927ec1fc.tar.xz zsh-9038bdb400ed152c0a1a11a70d9722c4927ec1fc.zip |
we have to disable 17219 for some keys because their code doesn't set up the variables we need (17222)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/Zle/complist.c | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 5b5a88edf..ff4260167 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-05-24 Sven Wischnowsky <wischnow@zsh.org> + + * 17222: Src/Zle/complist.c: we have to disable 17219 for some + keys because their code doesn't set up the variables we need + 2002-05-24 Peter Stephenson <pws@csr.com> * 17220: Src/Modules/tcp.c: bugs displaying host names and remote diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index 06474b81c..9eb1af8db 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -1919,6 +1919,7 @@ domenuselect(Hookdef dummy, Chdata dat) mselect = (*(minfo.cur))->gnum; setwish = wasnext = 1; mline = 0; + molbeg = -42; continue; } else if (cmd == Th(z_acceptandhold) || cmd == Th(z_acceptandmenucomplete)) { @@ -1970,6 +1971,7 @@ domenuselect(Hookdef dummy, Chdata dat) break; } setwish = 1; + molbeg = -42; continue; } else if (cmd == Th(z_undo)) { int l; @@ -2012,11 +2014,14 @@ domenuselect(Hookdef dummy, Chdata dat) clearlist = 1; setwish = 1; listdat.valid = 0; + molbeg = -42; } else if (cmd == Th(z_redisplay)) { redisplay(zlenoargs); + molbeg = -42; continue; } else if (cmd == Th(z_clearscreen)) { clearscreen(zlenoargs); + molbeg = -42; continue; } else if (cmd == Th(z_downhistory) || cmd == Th(z_downlineorhistory) || @@ -2322,6 +2327,7 @@ domenuselect(Hookdef dummy, Chdata dat) mselect = (*(minfo.cur))->gnum; setwish = 1; mline = -1; + molbeg = -42; continue; } else if (cmd == Th(z_reversemenucomplete) || !strcmp(cmd->nam, "reverse-menu-complete")) { @@ -2330,6 +2336,7 @@ domenuselect(Hookdef dummy, Chdata dat) mselect = (*(minfo.cur))->gnum; setwish = 1; mline = -1; + molbeg = -42; continue; } else if (cmd == Th(z_undefinedkey)) { continue; |