def METHOD_NAME(self):
    """terminal control characters are converted"""
    self.assertEqual(self.lbf.append('1234\033[u4321', 1.0), ('1234\n', [4], [1.0]))
    self.assertEqual(self.lbf.flush(), ('4321\n', [4], [1.0]))
    self.assertEqual(self.lbf.append('1234\033[1;2H4321', 2.0), ('1234\n', [4], [2.0]))
    self.assertEqual(self.lbf.flush(), ('4321\n', [4], [2.0]))
    self.assertEqual(self.lbf.append('1234\033[1;2f4321', 3.0), ('1234\n', [4], [3.0]))
    self.assertEqual(self.lbf.flush(), ('4321\n', [4], [3.0]))