]> git.saurik.com Git - wxWidgets.git/commitdiff
Treat Ctrl-Shift-Backspace the same as ESC in the shell.
authorRobin Dunn <robin@alldunn.com>
Sat, 18 Feb 2006 21:41:10 +0000 (21:41 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 18 Feb 2006 21:41:10 +0000 (21:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/py/shell.py

index e45ff175ee2d844ee129894310b24f7de00eb41c..de8c88c90c332dfd52de7b39c55f91bcb6aedebd 100644 (file)
@@ -541,6 +541,10 @@ Platform: %s""" % \
             else:
                 self.clearCommand()
 
+        # Clear the current command
+        elif key == wx.WXK_BACK and controlDown and shiftDown:
+            self.clearCommand()
+
         # Increase font size.
         elif controlDown and key in (ord(']'), wx.WXK_NUMPAD_ADD):
             dispatcher.send(signal='FontIncrease')