summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-02-08 17:07:59 -0500
committerShawn O. Pearce <spearce@spearce.org>2007-02-08 17:07:59 -0500
commit9bccb782c35b864988e51d433271faba2ac3e96f (patch)
tree1fabb319b97f5571e3b2392026126e19c67b3136 /commit.c
parent63faf4df6e174cc1e33a759d49133044c732ea32 (diff)
downloadgit-9bccb782c35b864988e51d433271faba2ac3e96f.tar.gz
git-gui: Support keyboard traversal in browser.
Users want to navigate the file list shown in our branch browser windows using the keyboard. So we now support basic traversal with the arrow keys: Up/Down: Move the "selection bar" to focus on a different name. Return: Move into the subtree, or open the annotated file. M1-Right: Ditto. M1-Up: Move to the parent tree. M1-Left: Ditto. Probably the only feature missing from this is to key a leading part of the file name and jump directly to that file (or subtree). This change did require a bit of refactoring, to pull the navigation logic out of the mouse click procedure and into more generic routines which can also be used in bindings. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions