mirror of
https://github.com/xcat2/confluent.git
synced 2026-03-03 12:29:18 +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.