mconf: Substract the 3 space separators between columns

pull/10840/head
Xavier Claessens 2 years ago committed by Xavier Claessens
parent 5d6368e562
commit 5a98c915c5
  1. 2
      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):

Loading…
Cancel
Save