diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-03 20:03:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-03 20:03:26 +0000 |
commit | 75c118cf7675e6f19cbb80bc16e92740676c7f4b (patch) | |
tree | b7840cfab1291920b36df87833c253051d4b54f0 /examples/python-embed-with-custom-prompt.py | |
parent | Adding upstream version 3.0.26. (diff) | |
download | ptpython-upstream/3.0.27.tar.xz ptpython-upstream/3.0.27.zip |
Adding upstream version 3.0.27.upstream/3.0.27
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples/python-embed-with-custom-prompt.py')
-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 |