##// END OF EJS Templates
Be a little smarter about invisible characters in terminal prompts...
Be a little smarter about invisible characters in terminal prompts This is a partial fix to #8724. Previously, only known color codes were considered to be invisible. Now, it looks for any kind of invisible sequence as defined by the \001 \002 delimiters (which is what readline uses). The situation could still be improved, as it still assumes that the number of invisible characters is constant for a given template. Making this work correctly with the existing API is awkward, so I didn't attempt it, especially since the readline frontend may be removed at some point in the near future.
Aaron Meurer -
r21605:8e996f80
Show More
Name Size Modified Last Commit Author
/ IPython
core
extensions
external
kernel
lib
sphinxext
terminal
testing
utils
__init__.py Loading ...
__main__.py Loading ...
config.py Loading ...
consoleapp.py Loading ...
display.py Loading ...
frontend.py Loading ...
html.py Loading ...
nbconvert.py Loading ...
nbformat.py Loading ...
parallel.py Loading ...
paths.py Loading ...
qt.py Loading ...