diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-04 04:07:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-04 04:07:44 +0000 |
commit | f6c8a974ca9ff13758bb59260387922cc8005b2e (patch) | |
tree | 7851956c38cda1dd5a43186c665de077e6615519 /examples/python-embed-with-custom-prompt.py | |
parent | Adding debian version 3.0.26-3. (diff) | |
download | ptpython-f6c8a974ca9ff13758bb59260387922cc8005b2e.tar.xz ptpython-f6c8a974ca9ff13758bb59260387922cc8005b2e.zip |
Merging upstream version 3.0.27.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | examples/python-embed-with-custom-prompt.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/python-embed-with-custom-prompt.py b/examples/python-embed-with-custom-prompt.py index d54da1d..5e8c707 100755 --- a/examples/python-embed-with-custom-prompt.py +++ b/examples/python-embed-with-custom-prompt.py @@ -2,6 +2,7 @@ """ Example of embedding a Python REPL, and setting a custom prompt. """ + from prompt_toolkit.formatted_text import HTML, AnyFormattedText from ptpython.prompt_style import PromptStyle |