Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
bug fix: synchronise prompts
- X-seq: zsh-workers 2543
- From: gwing@xxxxxxxxxxxxxxx
- To: zsh-workers@xxxxxxxxxxxxxxx (zsh-workers)
- Subject: bug fix: synchronise prompts
- Date: Sun, 8 Dec 1996 16:09:46 +1100 (EST)
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@xxxxxxxxxxxxxxx] 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author