print('\x1b[0A%s         ' % self.input_buff)
continue
if keypress != key.CR:
    self.input_buff = '%s%s' % (self.input_buff, keypress)
print('\x1b[0A%s' % self.input_buff)
continue
Keep console input line below output