From 4ca967e200843d0ff64b01a1404b4989e81d6696 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 19 Oct 2005 08:39:02 +0000 Subject: 21882: extend prompt truncation to handle multibyte characters --- Test/D01prompt.ztst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Test/D01prompt.ztst') 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 '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. -- cgit 1.4.1