From 24a82b9dad1cbe109d9fb5753c429fd37b1618cd Mon Sep 17 00:00:00 2001 From: Stephane Chazelas Date: Wed, 9 Sep 2020 11:27:47 +0100 Subject: 47352 (+ extra test cases): fix %K prompt expansion Fixed a regression introduced by workers/30496 (5.0.3) whereby %2K would no longer be the equivalent of %K{2} (%K{green}) in prompt expansion. That was one missing case where the is_fg flag was not passed along to match_colour() after code factorisation. Add tests for the different syntax variants, using echoti as a reference. --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index e97ac7eb3..399bc76c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-09-09 Stephane Chazelas + + * 47352 (+ extra test cases): Src/prompt.c, Test/D01prompt.ztst: + fix %K prompt expansion (regression introduced in 5.0.3). + 2020-09-05 Doug Kearns * unposted: Completion/Unix/Command/_lp, -- cgit 1.4.1