zsh-users
 help / color / mirror / code / Atom feed
From: xeyrion@gmail.com
To: zsh-users@zsh.org
Subject: adam2 prompt truncating command output
Date: Mon, 30 Oct 2017 06:27:13 +0000	[thread overview]
Message-ID: <CAJLGesrLWpf3XD1Nt=K_oFyga0gHrt9hcTR-L=dB7gP=WnX4tQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 591 bytes --]

Hello,

It looks like using adam2 prompt truncates command output if the output
does not end with a newline:

-------------------------
`--> zsh --no-globalrcs --no-rcs
                                                              dt% echo -n
asd
asd%
dt% autoload -Uz colors && colors
dt% autoload -Uz promptinit && promptinit
dt% prompt adam2
-------------------------
`--> echo -n asd
-------------------------
`-->

I assume this is a bug with the prompt? Could anyone recommend a work
around / fix? The prompt works and looks great otherwise.

Zsh version is 5.4.2.

Thanks in advance.

             reply	other threads:[~2017-10-30  6:27 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 [this message]
2017-10-30  9:36   ` Peter Stephenson
2017-10-30 16:41     ` Bart Schaefer
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='CAJLGesrLWpf3XD1Nt=K_oFyga0gHrt9hcTR-L=dB7gP=WnX4tQ@mail.gmail.com' \
    --to=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).