summaryrefslogtreecommitdiff
path: root/.dockerignore
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2020-04-23 12:14:40 -0700
committerGitHub <noreply@github.com>2020-04-23 12:14:40 -0700
commit0c0f11caf681cf8e1405c8579b5dffaec16d360a (patch)
tree09b468e391b8ac1c4e0902fe43c7ad2df0a12e42 /.dockerignore
parent686f0e21de510a12ee3d6af410448eb405d3e7b6 (diff)
downloadspack-0c0f11caf681cf8e1405c8579b5dffaec16d360a.tar.gz
spack-0c0f11caf681cf8e1405c8579b5dffaec16d360a.tar.bz2
spack-0c0f11caf681cf8e1405c8579b5dffaec16d360a.tar.xz
spack-0c0f11caf681cf8e1405c8579b5dffaec16d360a.zip
spack info: allow variants section to be as wide as the terminal (#16254)
The variants table in `spack info` is cramped, as the *widest* it can be is 80 columns. And that's actually only sort of true -- the padding calculation is off, so it still wraps on terminals of size 80 because it comes out *slightly* wider. This change looks at the terminal size and calculates the width of the description column based on it. On larger terminals, the output looks much nicer, and on small terminals, the output no longer wraps. Here's an example for `spack info qmcpack` with 110 columns. Before: Name [Default] Allowed values Description ==================== ==================== ============================== afqmc [off] on, off Install with AFQMC support. NOTE that if used in combination with CUDA, only AFQMC will have CUDA. build_type [Release] Debug, Release, The build type to build RelWithDebInfo complex [off] on, off Build the complex (general twist/k-point) version cuda [off] on, off Build with CUDA After: Name [Default] Allowed values Description ==================== ==================== ======================================================== afqmc [off] on, off Install with AFQMC support. NOTE that if used in combination with CUDA, only AFQMC will have CUDA. build_type [Release] Debug, Release, The build type to build RelWithDebInfo complex [off] on, off Build the complex (general twist/k-point) version cuda [off] on, off Build with CUDA
Diffstat (limited to '.dockerignore')
0 files changed, 0 insertions, 0 deletions