def move(self, x = None):
if x is not None:
if x < self.x1 or x >= self.x2:
return
self.stdscr.chgat(self.y, self.cursor, 1, curses.A_NORMAL)
self.cursor = x
self.stdscr.chgat(self.y, self.cursor, 1, curses.A_REVERSE)
评论列表
文章目录