The cursor visible (DECTCEM) property should be global, not affected by save/restore of cursor or alternate screens

This commit is contained in:
Kovid Goyal
2017-01-04 10:02:39 +05:30
parent 7c76e907c2
commit b4af2ff314
5 changed files with 21 additions and 21 deletions

View File

@@ -165,7 +165,7 @@ class TestDataTypes(BaseTest):
c2, c3 = c.copy(), c.copy()
self.ae(repr(c), repr(c2))
self.ae(c, c2)
c2.bold = c2.hidden = False
c2.bold = False
self.assertNotEqual(c, c2)
l.set_text(t, 0, len(t), C())
l.apply_cursor(c2, 3)