diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-10-19 08:39:02 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-10-19 08:39:02 +0000 |
commit | 4ca967e200843d0ff64b01a1404b4989e81d6696 (patch) | |
tree | 4e20a896abf01ed8c6a90d2024b5f9bbc1503f95 /Test/D01prompt.ztst | |
parent | 4c213d57ac42b51e41fcbbb4a50968c12ea05d8a (diff) | |
download | zsh-4ca967e200843d0ff64b01a1404b4989e81d6696.tar.gz zsh-4ca967e200843d0ff64b01a1404b4989e81d6696.tar.xz zsh-4ca967e200843d0ff64b01a1404b4989e81d6696.zip |
21882: extend prompt truncation to handle multibyte characters
Diffstat (limited to 'Test/D01prompt.ztst')
-rw-r--r-- | Test/D01prompt.ztst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Test/D01prompt.ztst b/Test/D01prompt.ztst index 1a5da8a97..361847aa1 100644 --- a/Test/D01prompt.ztst +++ b/Test/D01prompt.ztst @@ -68,11 +68,11 @@ >true >false - print -P '%10<...<truncated at 10%<< Not truncated' - print -P '%10>...>truncated at 10%>> Not truncated' + print -P 'start %10<...<truncated at 10%<< Not truncated%3< ...<Not shown' + print -P 'start %10>...>truncated at 10%>> Not truncated%3> ...>Not shown' 0:prompt truncation ->...d at 10 Not truncated ->truncat... Not truncated +>start ...d at 10 Not truncated ... +>start truncat... Not truncated ... # It's hard to check the time and date as they are moving targets. # We therefore just check that various forms of the date are consistent. |