def done(self):
# Force update to last known pos, in case it wasn't printed due to the threshold
self.update(self._pos, force=True)
sys.stderr.write('\n')
# Restore cursor
sys.stderr.buffer.write(curses.tigetstr('cnorm'))
self._activated = False
评论列表
文章目录