Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: (partially) Re: %<< and %{%}
- X-seq: zsh-workers 9943
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: (partially) Re: %<< and %{%}
- Date: Tue, 29 Feb 2000 18:36:43 +0000
- In-reply-to: <1000229181244.ZM31539@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <rsqhfes6ncw.fsf@xxxxxxxxxxxxxxxxx> <1000229173223.ZM29798@xxxxxxxxxxxxxxxxxxxxxxx> <1000229181244.ZM31539@xxxxxxxxxxxxxxxxxxxxxxx>
On Feb 29, 6:12pm, Bart Schaefer wrote:
} Subject: PATCH: (partially) Re: %<< and %{%}
}
} Had a quick look at this ... unfortunately, the way prompt truncation
} is now calculated, the knowledge of what strings were contained inside
} %{...%} has been lost by the time we start computing the truncation.
Minor correction: It hasn't been lost -- it's represented by Inpar and
Outpar tokens in the prompt string, but prompttruncate() doesn't look
for them -- it just does pointer arithmetic and memmove(). It's going
to be only a little bit tricky to fix it.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author