Nix 2.29.1
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
ProgressBar (bool isTTY) | |
void | stop () override final |
void | pause () override |
void | resume () override |
bool | isVerbose () override |
void | log (Verbosity lvl, std::string_view s) override |
void | logEI (const ErrorInfo &ei) override |
void | log (State &state, Verbosity lvl, std::string_view s) |
void | startActivity (ActivityId act, Verbosity lvl, ActivityType type, const std::string &s, const Fields &fields, ActivityId parent) override |
bool | hasAncestor (State &state, ActivityType type, ActivityId act) |
void | stopActivity (ActivityId act) override |
void | result (ActivityId act, ResultType type, const std::vector< Field > &fields) override |
void | update (State &state) |
void | redraw (std::string newOutput) |
std::chrono::milliseconds | draw (State &state) |
std::string | getStatus (State &state) |
void | writeToStdout (std::string_view s) override |
std::optional< char > | ask (std::string_view msg) override |
void | setPrintBuildLogs (bool printBuildLogs) override |
|
inline |
Redraw, if the output has changed.
Excessive redrawing is noticable on slow terminals, and it interferes with text selection in some terminals, including libvte-based terminal emulators.