Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion damaging prompt
- X-seq: zsh-workers 24984
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Completion damaging prompt
- Date: Fri, 09 May 2008 07:41:15 -0700
- In-reply-to: <747dc8f30805090551j3d26f810ud868028403ab8d9f@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <747dc8f30805090551j3d26f810ud868028403ab8d9f@xxxxxxxxxxxxxx>
On May 9, 9:51am, Renato Botelho wrote:
}
} root@botelhor:/home/garga# pkg<TAB>
}
} When I press TAB, prompt's changed
}
} root@botelhor:/home/gapkg
So the cursor appears to have backed up five spaces and covered over
part of the prompt? Is that what you're trying to point out?
} And if I clear the screen using ^L prompt changes to ~garga
}
} root@botelhor:~garga#
Aside from what PWS wrote, this does look like a bug. Even if you've
inadvertently created a named directory garga=/home/garga, the ZLE
refresh code shouldn't mis-calculate the width of a prompt it has
already printed, or should reprint the prompt when the width changes.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author