(self, target_file)
Output the visible page to file in raw bytes.
Output the visible page to file in raw bytes.
Output the visible page to file in raw bytes .
def _print_screen(self, target_file):
        """Output the visible page to file in raw bytes."""
        if not target_file:
            return
        for line in self._text_screen.get_chars(as_type=bytes):
            target_file.write_line(b''.join(line).replace(b'\0', b' '))
def _print_screen ( self , target_file ) : if not target_file : return for line in self . _text_screen . get_chars ( as_type = bytes ) : target_file . write_line ( b'' . join ( line ) . replace ( b'\0' , b' ' ) )