Mercurial > hg
diff mercurial/similar.py @ 36794:fa53a1d1f16e
ui: do not try readline support if fin/fout aren't standard streams
It's unlikely for a non-stdio stream to be a tty. Minimizing readline support
makes it much simpler to work around the unicode input() function of Python 3.
This also works on chg which duplicates client's tty to stdio fds.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 06 Mar 2018 02:32:26 -0600 |
parents | ded48ad55146 |
children | cd196be26cb7 |