def skip_test_blink_timing(self): import time term.set_cursor_type(1) term.move_cursor(1, 1) t = buffer.PlainText("Time!", x=0, y=0) t.draw() start = time.time() while time.time() - start < 2: term.flip() t.set("Keys!") t.draw() term.flip() for i in range(10): term.getkey()
def test_set_cursor_type(self): for val in ("blank", "normal", "block", 0, 1, 2, "normal"): term.set_cursor_type(val)