StdSim only considered an interactive stream if `echo` is True and `inner_stream` is a tty.
(self)
| 464 | self.buffer.byte_buf.clear() |
| 465 | |
| 466 | def isatty(self) -> bool: |
| 467 | """StdSim only considered an interactive stream if `echo` is True and `inner_stream` is a tty.""" |
| 468 | if self.echo: |
| 469 | return self.inner_stream.isatty() |
| 470 | return False |
| 471 | |
| 472 | @property |
| 473 | def line_buffering(self) -> bool: |
no outgoing calls