1. Execute "zsh -f".
2. Type RPS1="%*" and [Enter] (to have the time in the prompt).
3. Resize the window.
-> If the width has changed, the right part of the prompt is
redisplayed at the correct place, but in any case, the time
displayed in the prompt is not updated, even though zsh has
updated it internally. This can be seen with:
4. Type [Enter].
-> The time in the current prompt is updated to the time when the
window has been resized. This shows that the time in the prompt
was updated internally, but the effect couldn't be seen on the
terminal.
A new prompt is also output as expected.
Note: this is just an example using the time, but other prompt
information that could have changed after the window resize is
also affected. The snapshots show this with a more complex case.
There has been a discussion in the zsh-users mailing-list, but the
problem isn't solved yet. The thread starts at:
http://www.zsh.org/mla/users/2010/msg00897.html