bpo-4630: Add cursor no-blink option for IDLE (GH-16960)

This immediately toggles shell, editor, and output windows, but does not affect other input widgets.
This commit is contained in:
Zackery Spytz 2019-11-13 00:13:33 -07:00 committed by Terry Jan Reedy
parent 2d56af7a94
commit 9c2844927d
7 changed files with 48 additions and 1 deletions

View file

@ -1135,6 +1135,10 @@ class GenPageTest(unittest.TestCase):
d.win_width_int.insert(0, '11')
self.assertEqual(mainpage, {'EditorWindow': {'width': '11'}})
def test_cursor_blink(self):
self.page.cursor_blink_bool.invoke()
self.assertEqual(mainpage, {'EditorWindow': {'cursor-blink': 'False'}})
def test_autocomplete_wait(self):
self.page.auto_wait_int.delete(0, 'end')
self.page.auto_wait_int.insert(0, '11')