aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/xcodebackend.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-04-20 14:16:37 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-04-20 20:14:33 -0700
commitd3003ebb419ba867adfaa649bcfa3d45c03f0bf5 (patch)
treee3509d5f1e247c0f939613a78f2fe575fb4d6d3e /mesonbuild/backend/xcodebackend.py
parentcd8c3347887addc296c9befab5f9a2762780525e (diff)
downloadmeson-d3003ebb419ba867adfaa649bcfa3d45c03f0bf5.zip
meson-d3003ebb419ba867adfaa649bcfa3d45c03f0bf5.tar.gz
meson-d3003ebb419ba867adfaa649bcfa3d45c03f0bf5.tar.bz2
mconf: line wrap columns nicely
I've picked 160 characters as a default because anything less than that looks terrible and has awful wrapping going on. However, this respects the $COLUNNS environment variable if set, and otherwise will query the terminal to determine the size. This is all achieved through an application of shtuil.get_terminal_size, textwrap, print formatters, and iteration. Fixes #6965
Diffstat (limited to 'mesonbuild/backend/xcodebackend.py')
0 files changed, 0 insertions, 0 deletions