aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2022-09-06 17:36:58 -0400
committerXavier Claessens <xclaesse@gmail.com>2022-09-22 11:29:03 -0400
commit5a98c915c5f0a5fe58082d074dae70fb6dd6702d (patch)
treede343d49b0cf08f9c35ae9937b0d46385e9ed5a5 /mesonbuild
parent5d6368e562a5173afa535c26058b6e314738d712 (diff)
downloadmeson-5a98c915c5f0a5fe58082d074dae70fb6dd6702d.zip
meson-5a98c915c5f0a5fe58082d074dae70fb6dd6702d.tar.gz
meson-5a98c915c5f0a5fe58082d074dae70fb6dd6702d.tar.bz2
mconf: Substract the 3 space separators between columns
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/mconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py
index 2ac12dd..5cdb249 100644
--- a/mesonbuild/mconf.py
+++ b/mesonbuild/mconf.py
@@ -109,7 +109,7 @@ class Conf:
"""
total_width = shutil.get_terminal_size(fallback=(160, 0))[0]
_col = max(total_width // 5, 20)
- last_column = total_width - (3 * _col)
+ last_column = total_width - (3 * _col) - 3
four_column = (_col, _col, _col, last_column if last_column > 1 else _col)
for line in zip(self.name_col, self.value_col, self.choices_col, self.descr_col):