Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Prompt wrapping problems since 42285 ("off by one fix in multiple prompts ")
- X-seq: zsh-workers 42771
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: Alexandros Kozak <agkozak@xxxxxxxxx>, <zsh-workers@xxxxxxx>
- Subject: Re: Prompt wrapping problems since 42285 ("off by one fix in multiple prompts ")
- Date: Mon, 14 May 2018 09:51:29 +0100
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180514085134euoutp026ece44b8584a9d6a9fb5d81c58bc975c~udsDoRmck1260112601euoutp02A
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1526287894; bh=h/l4QgXgTiQUIg6yxIhkKlC7v6ibuZCY6Lx99ctU8PE=; h=Date:From:To:Subject:In-Reply-To:References:From; b=VBJYnC0FDhaFRnMqCmHaZplxqDaGKDIOzOrpAObTggVjs/f+8qBEwJHoNvmqxPAwh 5hA/axBaubJ2kVs8oQ6etiv0pMB1XMxt4jXpG97U7tiS5mpvFJD9kVxaHpSuY3cNsw LS9RNLEva828z4g4sGvK0jh8tY6ZRaYPXbnErlho=
- In-reply-to: <005701d3e8ae$1eab9070$5c02b150$@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: SCSC
- References: <CGME20180510222848epcas1p217b8864e4a44eaba7f15d4a48f1836a7@epcas1p2.samsung.com> <005701d3e8ae$1eab9070$5c02b150$@gmail.com>
On Thu, 10 May 2018 15:27:44 -0700
"Alexandros Kozak" <agkozak@xxxxxxxxx> wrote:
> I have an asynchronous ZSH prompt
> (https://github.com/agkozak/agkozak-zsh-theme) that works quite well
> in ZSH 4.3.11-5.4.2. Ever since v5.5 came out, I've been having a lot
> of trouble when the prompt wraps; the cursor frequently appears a few
> characters back from where it should. Eliminating the RPROMPT
> sometimes helps a bit, but even then, if I enter something and then
> delete the line, the cursor will snap back on top of the text of the
> left prompt, not at its end.
Bart pointed out when this patch appeared that terminal behaviour simply
isn't well-defined enough that all of them have consistent wrapping
behaviour, and they don't even provide enough information for the shell
to decide by itself.
About the only possibility we have to is to expand the ability to
configure the settings (we currently have ZLE_RPROMPT_INDENT, which can
be set to 1 to try to massage our way out of trouble).
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author