From: gwing@primenet.com.au
To: zsh-workers@math.gatech.edu (zsh-workers)
Subject: bug fix: synchronise prompts
Date: Sun, 8 Dec 1996 16:09:46 +1100 (EST) [thread overview]
Message-ID: <19961208050946.16374.qmail@primenet.com.au> (raw)
Heyla,
Bug fix: regenerate prompts more often - necessary when term size changes.
Previously if you set the terminal width less than pptw (prompt width on
line) there would be a multitude of illegal read and writes.
Now the prompt stuff is synchronous with the text buffers.
*** zle_refresh.c.org Sun Dec 8 15:48:59 1996
--- zle_refresh.c Sun Dec 8 16:00:43 1996
***************
*** 70,75 ****
--- 70,76 ----
int ln;
static int lwinw = -1, lwinh = -1; /* last window width & height */
+ genprompts();
winw = columns; /* terminal width */
if (isset(SINGLELINEZLE) || termok != TERM_OK)
winh = 1;
*** zle_main.c.org Sun Dec 8 15:48:49 1996
--- zle_main.c Sun Dec 8 15:59:12 1996
***************
*** 419,425 ****
putc('\r', shout);
if (tmout)
alarm(tmout);
- genprompts();
zleactive = 1;
resetneeded = 1;
refresh();
--- 419,424 ----
--
Geoff Wing [gwing@primenet.com.au] Technical Manager
Phone : +61-3-9818 2977 PrimeNet - Internet Consultancy
Facsimile: +61-3-9819 3788 Web : <URL:http://www.primenet.com.au/>
Mobile : 0412 162 441
reply other threads:[~1996-12-08 5:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=19961208050946.16374.qmail@primenet.com.au \
--to=gwing@primenet.com.au \
--cc=zsh-workers@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).