##// 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.

File last commit:

r21229:80c619a1
r21605:8e996f80
Show More
MANIFEST.in
36 lines | 670 B | text/plain | TextLexer
include README.rst
include COPYING.rst
include setupbase.py
include setupegg.py
graft setupext
graft scripts
# Load main dir but exclude things we don't want in the distro
graft IPython
# Include some specific files and data resources we need
include IPython/.git_commit_info.ini
# Documentation
graft docs
exclude docs/\#*
exclude docs/man/*.1.gz
# Examples
graft examples
# docs subdirs we want to skip
prune docs/build
prune docs/gh-pages
prune docs/dist
# Patterns to exclude from any directory
global-exclude *~
global-exclude *.flc
global-exclude *.pyc
global-exclude *.pyo
global-exclude .dircopy.log
global-exclude .git
global-exclude .ipynb_checkpoints