diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2024-04-19 15:57:23 +0200 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2024-04-19 16:58:24 +0200 |
| commit | 58ee0fabc9028fcdf86faab3bb9c1db2b27e3644 (patch) | |
| tree | c437646c2a6e69f2d2d242369969f766f197816a /apt-pkg/aptconfiguration.h | |
| parent | 633f6d67a28b375cf1f225f14d3c926e618d46af (diff) | |
Add APT::Configuration::color helper to colorize things
Diffstat (limited to 'apt-pkg/aptconfiguration.h')
| -rw-r--r-- | apt-pkg/aptconfiguration.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/aptconfiguration.h b/apt-pkg/aptconfiguration.h index 3e2636edc..58c925b7f 100644 --- a/apt-pkg/aptconfiguration.h +++ b/apt-pkg/aptconfiguration.h @@ -130,7 +130,9 @@ namespace Configuration { /*{{{*/ APT_PUBLIC bool isChroot(); /** \return Check usr is merged or produce error. */ APT_PUBLIC bool checkUsrMerged(); + APT_PUBLIC std::string color(std::string const &colorName, std::string const &content = ""); #endif + /*}}}*/ } /*}}}*/ |
