zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Peter Stephenson <p.stephenson@samsung.com>
Cc: xeyrion@gmail.com, Zsh Users <zsh-users@zsh.org>
Subject: Re: adam2 prompt truncating command output
Date: Mon, 30 Oct 2017 09:41:03 -0700	[thread overview]
Message-ID: <CAH+w=7Z_L8eVfQm5F0QFMVBLu-ABx2f_rNnikwOyLcgbp=YT1w@mail.gmail.com> (raw)
In-Reply-To: <20171030093623.06eba19b@pwslap01u.europe.root.pri>

On Mon, Oct 30, 2017 at 2:36 AM, Peter Stephenson
<p.stephenson@samsung.com> wrote:
> On Mon, 30 Oct 2017 06:27:13 +0000
> xeyrion@gmail.com wrote:
>> It looks like using adam2 prompt truncates command output if the output
>> does not end with a newline:
>
> That's standard zsh behaviour: it's that way because the line editor
> works best when it knows what position it's at in a line, so it ensures
> the prompt starts at the left.

The adam2 theme (and possibly some others) should probably be doing
"setopt prompt_sp".


  reply	other threads:[~2017-10-30 16:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20171030062906epcas2p30c9592dea463811869f232aea69d86fe@epcas2p3.samsung.com>
2017-10-30  6:27 ` xeyrion
2017-10-30  9:36   ` Peter Stephenson
2017-10-30 16:41     ` Bart Schaefer [this message]
2017-10-30 16:57       ` xeyrion
2017-10-30 20:25         ` Eric Cook
2017-10-31 16:40           ` xeyrion
2017-10-30 20:33         ` Bart Schaefer
2017-10-30 23:43           ` Oliver Kiddle
2017-10-31 20:32             ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7Z_L8eVfQm5F0QFMVBLu-ABx2f_rNnikwOyLcgbp=YT1w@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=p.stephenson@samsung.com \
    --cc=xeyrion@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).