mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-17 21:23:18 +00:00
186929d217
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.