From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-users@sunsite.auc.dk
Cc: Jerry Peek <jpeek@jpeek.com>
Subject: Re: zsh tips for "UNIX Power Tools"
Date: Sat, 4 Mar 2000 17:18:43 +0000 [thread overview]
Message-ID: <1000304171843.ZM24820@candle.brasslantern.com> (raw)
In-Reply-To: <1000304163801.ZM24423@candle.brasslantern.com>
On Mar 4, 4:38pm, Bart Schaefer wrote:
} Subject: Re: zsh tips for "UNIX Power Tools"
}
} show_mode is a function; fiddle with it. E.g. pass the number of lines
} to move up as a second argument, or pass that second argument only when
} in the prompt and don't move up a line when $# > 1, or ...
I just noticed a problem with this that I should have remembered: zsh
issues a clear-to-eol at every newline in a multiline prompt, so the
prompt will erase anything that's printed before it is drawn.
Thomas's sleep run from precmd appears to be the only workaround for
this, so I apologize for second-guessing.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
next prev parent reply other threads:[~2000-03-04 17:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-02 16:13 Jerry Peek
2000-03-03 11:39 ` Thomas Köhler
2000-03-03 14:17 ` Jerry Peek
2000-03-03 23:05 ` Bruce Stephens
2000-03-04 5:40 ` Bart Schaefer
2000-03-04 12:05 ` Thomas Köhler
2000-03-04 16:38 ` Bart Schaefer
2000-03-04 17:18 ` Bart Schaefer [this message]
2000-03-04 12:31 ` Bruce Stephens
2000-03-04 11:43 ` Thomas Köhler
2000-03-04 12:43 ` Bruce Stephens
2000-03-04 12:22 ` Vincent Lefevre
2000-03-04 18:12 ` Bart Schaefer
2000-03-05 23:19 ` Vincent Lefevre
2000-03-06 0:30 ` Bart Schaefer
2000-03-06 20:51 ` Thomas Köhler
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=1000304171843.ZM24820@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=jpeek@jpeek.com \
--cc=zsh-users@sunsite.auc.dk \
/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).