(self, stream)
Toggle copying of all screen I/O to stream.
Toggle copying of all screen I/O to stream.
Toggle copying of all screen I / O to stream .
def toggle_echo(self, stream):
        """Toggle copying of all screen I/O to stream."""
        stream = self._codepage.wrap_output_stream(stream, preserve=CONTROL)
        if stream in self._output_echos:
            self._output_echos.remove(stream)
        else:
            self._output_echos.append(stream)
def toggle_echo ( self , stream ) : stream = self . _codepage . wrap_output_stream ( stream , preserve = CONTROL ) if stream in self . _output_echos : self . _output_echos . remove ( stream ) else : self . _output_echos . append ( stream )