Renamed term_24bit_colors to term_truecolor
This commit is contained in:
parent
1773750485
commit
ae62aee529
|
@ -113,9 +113,9 @@ Common configuration
|
|||
Common configuration is a subdictionary that is a value of ``common`` key in
|
||||
:file:`powerline/config.json` file.
|
||||
|
||||
.. _config-common-term_24bit_colors:
|
||||
.. _config-common-term_truecolor:
|
||||
|
||||
``term_24bit_colors``
|
||||
``term_truecolor``
|
||||
Defines whether to output cterm indices (8-bit) or RGB colors (24-bit)
|
||||
to the terminal emulator. See the :ref:`term-feature-support-matrix` for
|
||||
information on whether your terminal emulator supports 24-bit colors.
|
||||
|
|
|
@ -31,8 +31,8 @@ custom symbols for developers. This requires that you either have a symbol
|
|||
font or a patched font on your system. Your terminal emulator must also
|
||||
support either patched fonts or fontconfig for Powerline to work properly.
|
||||
|
||||
You can also enable :ref:`24-bit color support
|
||||
<config-common-term_24bit_colors>` if your terminal emulator supports it.
|
||||
You can also enable :ref:`24-bit color support <config-common-term_truecolor>`
|
||||
if your terminal emulator supports it.
|
||||
|
||||
.. table:: Application/terminal emulator feature support matrix
|
||||
:name: term-feature-support-matrix
|
||||
|
|
|
@ -67,7 +67,7 @@ class Powerline(object):
|
|||
except ImportError as e:
|
||||
sys.stderr.write('Error while importing renderer module: {0}\n'.format(e))
|
||||
sys.exit(1)
|
||||
options = {'term_truecolor': common_config.get('term_24bit_colors', False)}
|
||||
options = {'term_truecolor': common_config.get('term_truecolor', False)}
|
||||
self.renderer = Renderer(theme_config, local_themes, theme_kwargs, colorscheme, **options)
|
||||
|
||||
def get_config_paths(self):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"common": {
|
||||
"term_24bit_colors": false,
|
||||
"term_truecolor": false,
|
||||
"dividers": {
|
||||
"left": {
|
||||
"hard": " ",
|
||||
|
|
Loading…
Reference in New Issue