'Add the given printable bytes to the terminal.
Line feeds in L{bytes} will be replaced with carriage return / line
feed pairs.'

def write(self, data):

    for b in iterbytes(data.replace('\n', '\r\n')):
        self.insertAtCursor(b)
