Backport of Issue #14409 to 2.7

IDLE doesn't not execute commands from shell with default keybinding
for <Return>.
Patch by Roger Serwy.
This commit is contained in:
Andrew Svetlov 2012-03-29 19:54:58 +03:00
parent de294ec02e
commit c37db10e03
3 changed files with 7 additions and 1 deletions

View file

@ -595,7 +595,7 @@ class IdleConf:
'<<replace>>': ['<Control-h>'],
'<<goto-line>>': ['<Alt-g>'],
'<<smart-backspace>>': ['<Key-BackSpace>'],
'<<newline-and-indent>>': ['<Key-Return> <Key-KP_Enter>'],
'<<newline-and-indent>>': ['<Key-Return>', '<Key-KP_Enter>'],
'<<smart-indent>>': ['<Key-Tab>'],
'<<indent-region>>': ['<Control-Key-bracketright>'],
'<<dedent-region>>': ['<Control-Key-bracketleft>'],