Changeset 4313

Show
Ignore:
Timestamp:
07/22/2008 05:32:42 PM (1 month ago)
Author:
ed
Message:

Changed the key binding for the history search to be Ctrl-R on all platforms. On the Mac, Cmd-R is the 'Redo' command, and anyways, the Mac Terminal works just like Linux terminals, in that Ctrl-R is what is used to bring up command history searching.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/ui/uiwx/dShell.py

    r4304 r4313  
    329329        cp.Sizer.append1x(self.shell) 
    330330        self.shell.Bind(wx.EVT_RIGHT_UP, self.shellRight) 
    331          
    332         if self.Application.Platform == "Mac": 
    333             keybnd = "cmd+R" 
    334         else: 
    335             keybnd = "ctrl+R" 
    336         self.bindKey(keybnd, self.onHistoryPop) 
     331        # Bring up history search 
     332        self.bindKey("Ctrl+R", self.onHistoryPop) 
    337333         
    338334        # Restore the history