Package: zsh Version: 4.3.10-17 Severity: minor 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 -- System Information: Debian Release: 6.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores) Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages zsh depends on: ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ii libcap2 1:2.19-3 support for getting/setting POSIX. ii libncursesw5 5.7+20100313-4 shared libraries for terminal hand Versions of packages zsh recommends: ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ii libpcre3 8.02-1.1 Perl 5 Compatible Regular Expressi Versions of packages zsh suggests: ii zsh-doc 4.3.10-17 zsh documentation - info/HTML form -- no debconf information
<<attachment: zshprompt1.png>>
<<attachment: zshprompt2.png>>