def select(self):
'''
Not only selects this textbox, but turns on the cursor and moves it to
the correct possition within this textbox.
'''
self.borderbox.bkgd(' ', curses.A_BOLD)
self.textinpt.bkgd(' ', colors.get_colorpair(self.default_color))
curses.curs_set(1)
self.textinpt.move(0, self.keypos)
self.refresh()
评论列表
文章目录