diff --git a/httpie/output/formatters/colors.py b/httpie/output/formatters/colors.py index 4bafe732..7ad4cdd3 100644 --- a/httpie/output/formatters/colors.py +++ b/httpie/output/formatters/colors.py @@ -32,7 +32,10 @@ BUNDLED_STYLES = { def get_available_styles(): - return sorted(BUNDLED_STYLES | set(pygments.styles.get_all_styles())) + return [ + *PIE_STYLE_NAMES, + *sorted(BUNDLED_STYLES | set(pygments.styles.get_all_styles())) + ] class ColorFormatter(FormatterPlugin): diff --git a/httpie/output/ui/rich_help.py b/httpie/output/ui/rich_help.py index 8c812d1d..b7e15695 100644 --- a/httpie/output/ui/rich_help.py +++ b/httpie/output/ui/rich_help.py @@ -1,5 +1,4 @@ import re -import textwrap from typing import AbstractSet, Iterable, Optional, Tuple from rich.console import RenderableType