Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: prompt reprinting on SIGWINCH
- X-seq: zsh-workers 14482
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Clint Adams <schizo@xxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: Re: prompt reprinting on SIGWINCH
- Date: Fri, 25 May 2001 15:33:52 +0000
- Cc: 97880-forwarded@xxxxxxxxxxxxxxx
- In-reply-to: <20010525105604.A6763@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20010525105604.A6763@xxxxxxxx>
On May 25, 10:56am, Clint Adams wrote:
}
} Is this really a bug?
}
} ----- Forwarded message from Neil Conway <nconway@xxxxxxxxxxxxxxxxxx> -----
}
} (Every time the size of the window is adjusted, another prompt is
} printed).
No, this is not really a bug. It also has nothing to do with the themed
prompt system; the prompt is always reprinted whenever the window is
resized. However, you can't *see* this happening unless the prompt has
a newline character in it (which most of the themed prompts happen to).
The prompt is reprinted because it might contain conditionals that depend
on the width of the terminal, or because there might be an RPS1 (right-
side prompt) that has to be repositioned.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author