diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-12-09 23:40:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-09 23:40:09 (GMT) |
commit | 4e0e452dd06a0f3565d94075188d1fd1f60d4d65 (patch) | |
tree | fe7859dddfcfa996074a43b9add67422072736fa /Lib/idlelib/autocomplete_w.py | |
parent | 66d7a5d58a88bce312bc4668f2cc54c9488c5bd8 (diff) | |
download | cpython-4e0e452dd06a0f3565d94075188d1fd1f60d4d65.zip cpython-4e0e452dd06a0f3565d94075188d1fd1f60d4d65.tar.gz cpython-4e0e452dd06a0f3565d94075188d1fd1f60d4d65.tar.bz2 |
bpo-38944: Escape key now closes IDLE completion windows. (GH-17419)
(cherry picked from commit 232689b40d8fcbbac27c8705607ff482ea5b46f8)
Co-authored-by: JohnnyNajera <58344607+JohnnyNajera@users.noreply.github.com>
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 5035e06..f20b633 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>" |