diff options
author | JohnnyNajera <58344607+JohnnyNajera@users.noreply.github.com> | 2019-12-10 01:22:16 +0200 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2019-12-09 18:22:16 -0500 |
commit | 232689b40d8fcbbac27c8705607ff482ea5b46f8 (patch) | |
tree | aade05d03aebc4bb241b54cbfc50b499373ed32d /Lib/idlelib/autocomplete_w.py | |
parent | 2ad7651c00c9b58b2b8b9e3687c82c203ece576c (diff) | |
download | cpython-git-232689b40d8fcbbac27c8705607ff482ea5b46f8.tar.gz |
bpo-38944: Escape key now closes IDLE completion windows. (GH-17419)
Diffstat (limited to 'Lib/idlelib/autocomplete_w.py')
-rw-r--r-- | Lib/idlelib/autocomplete_w.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/autocomplete_w.py b/Lib/idlelib/autocomplete_w.py index 5035e06739..f20b633099 100644 --- a/Lib/idlelib/autocomplete_w.py +++ b/Lib/idlelib/autocomplete_w.py @@ -17,7 +17,7 @@ KEYPRESS_VIRTUAL_EVENT_NAME = "<<autocompletewindow-keypress>>" # before the default specific IDLE function KEYPRESS_SEQUENCES = ("<Key>", "<Key-BackSpace>", "<Key-Return>", "<Key-Tab>", "<Key-Up>", "<Key-Down>", "<Key-Home>", "<Key-End>", - "<Key-Prior>", "<Key-Next>") + "<Key-Prior>", "<Key-Next>", "<Key-Escape>") KEYRELEASE_VIRTUAL_EVENT_NAME = "<<autocompletewindow-keyrelease>>" KEYRELEASE_SEQUENCE = "<KeyRelease>" LISTUPDATE_SEQUENCE = "<B1-ButtonRelease>" |