diff options
author | Michael Kuhn <michael.kuhn@ovgu.de> | 2023-07-12 08:54:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-12 08:54:45 +0200 |
commit | d5d0b8821cd9789b8404e06a40dfeabce09a3480 (patch) | |
tree | f09861f4bb756ba54a47cdd87663429de9e51e74 /lib/spack/docs/config_yaml.rst | |
parent | d3704130b63fa177bd5786659b3a64fb338c4b00 (diff) | |
download | spack-d5d0b8821cd9789b8404e06a40dfeabce09a3480.tar.gz spack-d5d0b8821cd9789b8404e06a40dfeabce09a3480.tar.bz2 spack-d5d0b8821cd9789b8404e06a40dfeabce09a3480.tar.xz spack-d5d0b8821cd9789b8404e06a40dfeabce09a3480.zip |
installer: Improve status reporting (#37903)
Refactor `TermTitle` into `InstallStatus` and use it to show progress
information both in the terminal title as well as inline. This also
turns on the terminal title status by default.
The inline output will look like the following after this change:
```
==> Installing m4-1.4.19-w2fxrpuz64zdq63woprqfxxzc3tzu7p3 [4/4]
```
Diffstat (limited to 'lib/spack/docs/config_yaml.rst')
-rw-r--r-- | lib/spack/docs/config_yaml.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/spack/docs/config_yaml.rst b/lib/spack/docs/config_yaml.rst index b1e7a1d249..294f7c3436 100644 --- a/lib/spack/docs/config_yaml.rst +++ b/lib/spack/docs/config_yaml.rst @@ -292,12 +292,13 @@ It is also worth noting that: non_bindable_shared_objects = ["libinterface.so"] ---------------------- -``terminal_title`` +``install_status`` ---------------------- -By setting this option to ``true``, Spack will update the terminal's title to -provide information about its current progress as well as the current and -total package numbers. +When set to ``true``, Spack will show information about its current progress +as well as the current and total package numbers. Progress is shown both +in the terminal title and inline. Setting it to ``false`` will not show any +progress information. To work properly, this requires your terminal to reset its title after Spack has finished its work, otherwise Spack's status information will |