diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-11-04 22:29:31 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-11-04 22:29:31 +0100 |
commit | b81d9d26f50784ab1884e2cc6bc470d5cba91bc9 (patch) | |
tree | bf1a03fff022f94271df102d045d6b33e677c2c6 /src/nix/progress-bar.cc | |
parent | e34b317bbf778efb4e9bee5d34fb2ceb7776de3f (diff) | |
parent | f5a46ef0b1d76d32238f76ab8253f0d2d9fc72c9 (diff) |
Merge remote-tracking branch 'origin/master' into flakes
Diffstat (limited to 'src/nix/progress-bar.cc')
-rw-r--r-- | src/nix/progress-bar.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/progress-bar.cc b/src/nix/progress-bar.cc index 5c05d6b22..661966733 100644 --- a/src/nix/progress-bar.cc +++ b/src/nix/progress-bar.cc @@ -341,7 +341,7 @@ public: } auto width = getWindowSize().second; - if (width <= 0) std::numeric_limits<decltype(width)>::max(); + if (width <= 0) width = std::numeric_limits<decltype(width)>::max(); writeToStderr("\r" + filterANSIEscapes(line, false, width) + "\e[K"); } |