From: Robin Dunn Date: Sat, 18 Feb 2006 21:41:10 +0000 (+0000) Subject: Treat Ctrl-Shift-Backspace the same as ESC in the shell. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1ad0de842df4994a74d045a890f2503b393ceee9 Treat Ctrl-Shift-Backspace the same as ESC in the shell. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wx/py/shell.py b/wxPython/wx/py/shell.py index e45ff175ee..de8c88c90c 100644 --- a/wxPython/wx/py/shell.py +++ b/wxPython/wx/py/shell.py @@ -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')