summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-12-02 09:11:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-12-02 09:11:43 +0000
commit5c1d7c2dcc939f95e0dd53831a76341bbab89894 (patch)
tree77b46b51ed832aaa31c9745eea7baaf5c8bb48e4 /examples
parentReleasing debian version 3.0.20-2. (diff)
downloadptpython-5c1d7c2dcc939f95e0dd53831a76341bbab89894.tar.xz
ptpython-5c1d7c2dcc939f95e0dd53831a76341bbab89894.zip
Merging upstream version 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).