summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-12-02 09:11:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-12-02 09:11:15 +0000
commit50dfafe3a01b634bfa80101fc199d3d451ff7d0f (patch)
tree944855d93ab99895019c54e66eba596c4a9e33ad /examples
parentAdding upstream version 3.0.20. (diff)
downloadptpython-50dfafe3a01b634bfa80101fc199d3d451ff7d0f.tar.xz
ptpython-50dfafe3a01b634bfa80101fc199d3d451ff7d0f.zip
Adding upstream version 3.0.21.upstream/3.0.21
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/ptpython_config/config.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/ptpython_config/config.py b/examples/ptpython_config/config.py
index 2427572..bf9d05f 100644
--- a/examples/ptpython_config/config.py
+++ b/examples/ptpython_config/config.py
@@ -106,8 +106,13 @@ def configure(repl):
repl.enable_input_validation = True
# Use this colorscheme for the code.
+ # Ptpython uses Pygments for code styling, so you can choose from Pygments'
+ # color schemes. See:
+ # https://pygments.org/docs/styles/
+ # https://pygments.org/demo/
repl.use_code_colorscheme("default")
- # repl.use_code_colorscheme("pastie")
+ # A colorscheme that looks good on dark backgrounds is 'native':
+ # repl.use_code_colorscheme("native")
# Set color depth (keep in mind that not all terminals support true color).