1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 04:30:24 +02:00

make _arguments -S' still complete long options after --<TAB>'; fix for cursor positioning with partial word match specs (13868)

This commit is contained in:
Sven Wischnowsky 2001-04-02 09:05:47 +00:00
parent 9475938761
commit c05a2d2093
3 changed files with 9 additions and 2 deletions

View file

@ -2076,7 +2076,8 @@ join_clines(Cline o, Cline n)
if ((diff = sub_join(o, n, tn, 0))) {
o->flags = (o->flags & ~CLF_MISS) | of;
if (po) {
if (po && po->prefix &&
cmp_anchors(o, po, 0)) {
po->flags |= CLF_MISS;
po->max += diff;
}