summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Base/Utility/_call_program1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 71921f561..458446401 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2021-08-27  Oliver Kiddle  <opk@zsh.org>
 
+	* Marlon: 49272: Completion/Base/Utility/_call_program:
+	Set $COLUMNS in _call_program to ensure cached command
+	output is sufficiently wide
+
 	* unposted (based on Marlon: 49273):
 	Completion/Zsh/Command/_typeset: add -x to local completion
 
diff --git a/Completion/Base/Utility/_call_program b/Completion/Base/Utility/_call_program
index 73f3ef6d2..55712b04b 100644
--- a/Completion/Base/Utility/_call_program
+++ b/Completion/Base/Utility/_call_program
@@ -1,5 +1,6 @@
 #autoload +X
 
+local -xi COLUMNS=999
 local curcontext="${curcontext}" tmp err_fd=-1 clocale='_comp_locale;'
 local -a prefix