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]
```
This commit is contained in:
Michael Kuhn
2023-07-12 08:54:45 +02:00
committed by GitHub
parent d3704130b6
commit d5d0b8821c
6 changed files with 70 additions and 53 deletions

View File

@@ -1,4 +1,4 @@
SPACK ?= spack
SPACK ?= spack -c config:install_status:false
SPACK_INSTALL_FLAGS ?=
# This variable can be used to add post install hooks