zsh-users
 help / color / mirror / code / Atom feed
From: Zefram <A.Main@dcs.warwick.ac.uk>
To: vlefevre@ens.ens-lyon.fr
Cc: zsh-users@math.gatech.edu
Subject: Re: Prompt ending with a "\n"
Date: Fri, 10 Nov 1995 14:23:12 +0000 (GMT)	[thread overview]
Message-ID: <26896.199511101423@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <9511101203.AA05778@brotteaux.ens-lyon.fr> from "Vincent Lefevre" at Nov 10, 95 01:03:37 pm

>But there's another bug: when a prompt ends with a newline, a space
>is always displayed after this newline. Is it also a known bug?

When I revised the prompt code recently I queried this.  It seems to be
intentional.  A space is added to the end of a prompt if it ends one
column before the edge of the screen to avoid trouble on some
terminals, though I'm not aware of any where this is a problem.  A
space is also added if the prompt takes up an integral number of rows,
possibly to avoid trouble with automatic margins?  It could be safely
disabled in the case of an explicit newline being used.

-zefram


      reply	other threads:[~1995-11-10 14:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-11-10 12:03 Vincent Lefevre
1995-11-10 14:23 ` Zefram [this message]

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=26896.199511101423@stone.dcs.warwick.ac.uk \
    --to=a.main@dcs.warwick.ac.uk \
    --cc=vlefevre@ens.ens-lyon.fr \
    --cc=zsh-users@math.gatech.edu \
    /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).