mirror of
https://github.com/httpie/cli.git
synced 2025-06-02 23:17:44 +02:00
Default --style to "monokai"
419ca85
This commit is contained in:
parent
07aaefa232
commit
dd0a4ab87a
@ -1314,7 +1314,7 @@ Changelog
|
|||||||
*You can click a version name to see a diff with the previous one.*
|
*You can click a version name to see a diff with the previous one.*
|
||||||
|
|
||||||
* `1.0.0-dev`_
|
* `1.0.0-dev`_
|
||||||
* The default color ``--style`` is now ``fruity`` (was ``solarized``).
|
* The default color ``--style`` is now ``monokai`` (was ``solarized``).
|
||||||
* Changed the default JSON ``Content-Type``
|
* Changed the default JSON ``Content-Type``
|
||||||
from ``application/json; charset=utf-8`` to ``application/json``
|
from ``application/json; charset=utf-8`` to ``application/json``
|
||||||
as UTF-8 is the default encoding for JSON.
|
as UTF-8 is the default encoding for JSON.
|
||||||
|
BIN
httpie.png
BIN
httpie.png
Binary file not shown.
Before Width: | Height: | Size: 183 KiB After Width: | Height: | Size: 182 KiB |
@ -14,7 +14,7 @@ from httpie.plugins import FormatterPlugin
|
|||||||
# great and fruity seems to give the best result there.
|
# great and fruity seems to give the best result there.
|
||||||
AVAILABLE_STYLES = set(pygments.styles.STYLE_MAP.keys())
|
AVAILABLE_STYLES = set(pygments.styles.STYLE_MAP.keys())
|
||||||
AVAILABLE_STYLES.add('solarized')
|
AVAILABLE_STYLES.add('solarized')
|
||||||
DEFAULT_STYLE = 'fruity'
|
DEFAULT_STYLE = 'monokai'
|
||||||
|
|
||||||
|
|
||||||
class ColorFormatter(FormatterPlugin):
|
class ColorFormatter(FormatterPlugin):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user