Mercurial > hg
view mercurial/thirdparty/__init__.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 | 765eb17a7eb8 |
children |