summaryrefslogtreecommitdiffstats
path: root/examples/ptpython_config
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-17 07:40:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-07-17 07:40:58 +0000
commit302975348b0dbd4f0ddbb699df76ee05ffbefaaf (patch)
tree761e94c321db07dec57816b4ffdd36a13d67662d /examples/ptpython_config
parentReleasing debian version 3.0.16-2. (diff)
downloadptpython-302975348b0dbd4f0ddbb699df76ee05ffbefaaf.tar.xz
ptpython-302975348b0dbd4f0ddbb699df76ee05ffbefaaf.zip
Merging upstream version 3.0.19.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples/ptpython_config')
-rw-r--r--examples/ptpython_config/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ptpython_config/config.py b/examples/ptpython_config/config.py
index 8532f93..2427572 100644
--- a/examples/ptpython_config/config.py
+++ b/examples/ptpython_config/config.py
@@ -157,7 +157,7 @@ def configure(repl):
@repl.add_key_binding("j", "j", filter=ViInsertMode())
def _(event):
" Map 'jj' to Escape. "
- event.cli.key_processor.feed(KeyPress("escape"))
+ event.cli.key_processor.feed(KeyPress(Keys("escape")))
"""
# Custom key binding for some simple autocorrection while typing.