summaryrefslogtreecommitdiffstats
path: root/Tools/idle/keydefs.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-06-10 18:52:02 (GMT)
committerGuido van Rossum <guido@python.org>2002-06-10 18:52:02 (GMT)
commit2ca7862e97610c0e16df8b06cbae4c8f537617a4 (patch)
tree4b71a9c2d4f8a25c168e62e7c68607dec4c5955b /Tools/idle/keydefs.py
parenteb914881af66a64a4f03545f2a18761ed774ce5f (diff)
downloadcpython-2ca7862e97610c0e16df8b06cbae4c8f537617a4.zip
cpython-2ca7862e97610c0e16df8b06cbae4c8f537617a4.tar.gz
cpython-2ca7862e97610c0e16df8b06cbae4c8f537617a4.tar.bz2
Add primitive printing support for Unix and Windows.
Diffstat (limited to 'Tools/idle/keydefs.py')
-rw-r--r--Tools/idle/keydefs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/idle/keydefs.py b/Tools/idle/keydefs.py
index fddf278..9761258 100644
--- a/Tools/idle/keydefs.py
+++ b/Tools/idle/keydefs.py
@@ -17,6 +17,7 @@ windows_keydefs = \
'<<open-new-window>>': ['<Control-n>'],
'<<open-window-from-file>>': ['<Control-o>'],
'<<plain-newline-and-indent>>': ['<Control-j>'],
+ '<<print-window>>': ['<Control-p>'],
'<<redo>>': ['<Control-y>'],
'<<remove-selection>>': ['<Escape>'],
'<<save-copy-of-window-as-file>>': ['<Alt-Shift-s>'],
@@ -46,6 +47,7 @@ unix_keydefs = \
'<<open-new-window>>': ['<Control-x><Control-n>'],
'<<open-window-from-file>>': ['<Control-x><Control-f>'],
'<<plain-newline-and-indent>>': ['<Control-j>'],
+ '<<print-window>>': ['<Control-x><Control-p>'],
'<<redo>>': ['<Alt-z>', '<Meta-z>'],
'<<save-copy-of-window-as-file>>': ['<Control-x><w>'],
'<<save-window-as-file>>': ['<Control-x><Control-w>'],