Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] _describe and literal \n



Daniel Shahaf wrote on Thu, Sep 29, 2016 at 14:11:39 +0000:
> compadd prints the description using nice*() functions, but _describe
> does its width computations using the raw string length; hence compadd
> prints a longer string than _describe computed.
>
> @@ -199,11 +199,11 @@ cd_calc(void)
> -            if ((l = MB_METASTRWIDTH(str->str)) > cd_state.premaxw)
> +            if ((l = ZMB_nicewidth(str->str)) > cd_state.premaxw)

I haven't forgotten about this; I'd like to review it again before
pushing, but haven't yet had time to do so.



Messages sorted by: Reverse Date, Date, Thread, Author