1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

Change the default style for windows from fruity to auto (#1268)

This commit is contained in:
Batuhan Taskaya
2022-01-14 19:47:10 +03:00
committed by GitHub
parent 3856f94d3d
commit 87629706c9
3 changed files with 2 additions and 8 deletions

View File

@@ -18,7 +18,6 @@ from pygments.util import ClassNotFound
from ..lexers.json import EnhancedJsonLexer
from ..lexers.metadata import MetadataLexer
from ..ui.palette import SHADE_NAMES, get_color
from ...compat import is_windows
from ...context import Environment
from ...plugins import FormatterPlugin
@@ -27,11 +26,6 @@ AUTO_STYLE = 'auto' # Follows terminal ANSI color styles
DEFAULT_STYLE = AUTO_STYLE
SOLARIZED_STYLE = 'solarized' # Bundled here
if is_windows:
# Colors on Windows via colorama don't look that
# great and fruity seems to give the best result there.
DEFAULT_STYLE = 'fruity'
BUNDLED_STYLES = {
SOLARIZED_STYLE,
AUTO_STYLE