diff --git a/slpkg/dialog_box.py b/slpkg/dialog_box.py index cfbf306d..1fd3ce11 100644 --- a/slpkg/dialog_box.py +++ b/slpkg/dialog_box.py @@ -21,6 +21,7 @@ class DialogBox(Configs): self.more_kwargs: dict = {} self.d = Dialog(dialog="dialog") + self.d.add_persistent_args(["--colors"]) self.d.set_background_title(f'{self.prog_name} {Version().version} - Software Package Manager') def checklist(self, text: str, title: str, height: int, width: int, # pylint: disable=[R0913] diff --git a/slpkg/remove_packages.py b/slpkg/remove_packages.py index afd3c77c..b0362c36 100644 --- a/slpkg/remove_packages.py +++ b/slpkg/remove_packages.py @@ -146,9 +146,9 @@ class RemovePackages(Configs): # pylint: disable=[R0902] width: int = 70 list_height: int = 0 choices: list = [] - title: str = " Choose dependencies you want to remove " + title: str = "\\Z1 Choose dependencies you want to remove \\Zn" if upgrade: - title: str = ' Choose packages you want to remove ' + title: str = '\\Z1 Choose packages you want to remove \\Zn' for package in packages: installed_package: str = self.utils.is_package_installed(package)