File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -95,8 +95,10 @@ def configure(repl):
9595 repl .use_code_colorscheme ('pastie' )
9696
9797 # Install custom colorscheme named 'my-colorscheme' and use it.
98+ """
9899 repl.install_ui_colorscheme('my-colorscheme', _custom_ui_colorscheme)
99100 repl.use_ui_colorscheme('my-colorscheme')
101+ """
100102
101103 # Add custom key binding for PDB.
102104 @repl .add_key_binding (Keys .ControlB )
@@ -112,6 +114,7 @@ def _(event):
112114 if b .accept_action .is_returnable :
113115 b .accept_action .validate_and_handle (event .cli , b )
114116
117+ """
115118 # Custom key binding for some simple autocorrection while typing.
116119 corrections = {
117120 'impotr': 'import',
@@ -130,6 +133,7 @@ def _(event):
130133 b.insert_text(corrections[w])
131134
132135 b.insert_text(' ')
136+ """
133137
134138
135139# Custom colorscheme for the UI. See `ptpython/layout.py` and
You can’t perform that action at this time.
0 commit comments