Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: PROMPT_SP
- X-seq: zsh-workers 21512
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: Re: PATCH: PROMPT_SP
- Date: Sun, 24 Jul 2005 05:27:57 +0000
- In-reply-to: <20050723165301.GB16571@xxxxxxxxx>
- In-reply-to: <20050723171955.GC16571@xxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20050714182506.GB11296@xxxxxxxxx> <20050715175551.GA29713@xxxxxxxxx> <1050716160634.ZM31049@xxxxxxxxxxxxxxxxxxxxxxx> <20050716195612.GA11575@xxxxxxxxx> <200507181032.j6IAWB4q022520@xxxxxxxxxxxxxx> <20050718181330.GA19066@xxxxxxxxx> <1050723135554.ZM19813@xxxxxxxxxxxxxxxxxxxxxxx> <20050723165301.GB16571@xxxxxxxxx> <20050723171955.GC16571@xxxxxxxxx>
On Jul 23, 9:53am, Wayne Davison wrote:
} Subject: Re: PATCH: PROMPT_SP
}
} One way to deal with that would be to output some
} characters other than spaces that would only become visible when zsh
} makes a partial line visible.
What happens when THOSE characters cause the line to wrap? You don't
know how many RI to emit (COLUMNS-7 is definitely wrong in your
example). You can only do this right if you manage to do it with a
single character.
} Subject: Re: PATCH: PROMPT_SP
}
} I made the text bold too (if possible) and switched to using print
} with prompt expansion.
I was going to suggest that. Perhaps '%B%S$%s%b' would do it, as long
as the user doesn't have promptsubst set; hrm.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author