summaryrefslogtreecommitdiffstats
path: root/examples/python-embed-with-custom-prompt.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-04 04:07:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-04 04:07:44 +0000
commitf6c8a974ca9ff13758bb59260387922cc8005b2e (patch)
tree7851956c38cda1dd5a43186c665de077e6615519 /examples/python-embed-with-custom-prompt.py
parentAdding debian version 3.0.26-3. (diff)
downloadptpython-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-xexamples/python-embed-with-custom-prompt.py1
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