Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: several bug fixes in countprompt
- X-seq: zsh-workers 44436
- From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: PATCH: several bug fixes in countprompt
- Date: Wed, 19 Jun 2019 17:09:46 +0200
- Cc: Peter Stephenson <p.stephenson@xxxxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6CuK9/ypy76KA88dttpmkws6BV39tIjgfr3mauyA6WA=; b=TmjvaKIkFT5S7iJpujj4DGQtGsChZCndcVJx54MR+2f0WQx52amjOO/rupD37fP68r UUBFzTiMOVGcFv0l+kaW9zvZV8s5biHySCVz4kV9YY5gd2NZPEZj+QkXVH+KmulyKzUD A3ycHFiSVAsWdxqXIZaX4DXNxBXp4kMFmKsIWjiN0PdIFrSHTOCHCD912VPr/td3Q8Jb JlBkH0xc3hYSgMK7yy19MqGNJVRwDw66vxM30RBP9FqOzN0j8jiPacugpFRMgK/vOAex ZukqIHaymZVq63opRZCOR2kaUPMjaG0pUtybc4OoGXel/laHSamhJxDZhj0CTfOox7Uf hS/w==
- In-reply-to: <CAH+w=7Zqy-a8ByqmHWKDQ2HS_n4S0ZR0vPaPLerPoc+7X5sQ=g@mail.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
- References: <CGME20190619102623epcas3p27d38284482c5631e0585059dc0b732a6@epcas3p2.samsung.com> <CAN=4vMrT_CrkbCD7wsJnAwHSjLXgqHPusVzBuzD_Q8Oui3LN1g@mail.gmail.com> <1560941762.23478.2.camel@samsung.com> <CAN=4vMp4+C1GjRLUaptCq-59EjQ7AmWC+BF3-b=nkYDuoJ6wEQ@mail.gmail.com> <CAH+w=7Zqy-a8ByqmHWKDQ2HS_n4S0ZR0vPaPLerPoc+7X5sQ=g@mail.gmail.com>
On Wed, Jun 19, 2019 at 4:58 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Sounds as though we should either:
> -- document that using a tab character in your prompt is not advisable, or
> -- always convert tabs to spaces before emitting the prompt
I like both of these. That is, really do both. Right now, in addition
to making unjustified assumptions about how tabs overflow, ZSH also
assumes that tab stops are set every 8 columns (this is usually true
but not always). RPROMPT breaks when it includes tabs, too.
Roman.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author