From 75fdec17b1ed7e4b3ede4b995003175b885d5f6d Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Thu, 3 Oct 2013 15:59:52 -0700 Subject: 31784: better line width calculation for completion listings When deciding whether there is enough horizontal space to show completion descriptions for each match in a listing, treat the separator as part of the description rather than as part of the match, and account for lines that have already wrapped due to very long matches. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 9ec3bc581..bd37e0a2d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2013-10-03 Barton E. Schaefer + * 31784: Src/Zle/computil.c: when deciding whether there is enough + horizontal space to show completion descriptions for each match in + a listing, treat the separator as part of the description rather + than as part of the match, and account for lines that have already + wrapped due to very long matches. + * 31781: Src/Zle/computil.c: "compdescribe -i" must clear the completion list column padding width along with the rest of the description state. Cf. 31782. -- cgit 1.4.1