mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-17 21:23:18 +00:00
Jarrod Johnson
186929d217
Only conditionally import readline
If stdout is not a tty, do not import readline. import readline by itself can cause terminal control characters to appear in the stdout. Avoid this by only importing if there seems to be a sign it is connected to a terminal.
…
Description
Languages
Python
80.4%
Shell
15.6%
C
3.6%
Perl
0.3%