mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-06 22:12:45 +00:00
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.