aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-07-14 06:39:25 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-07-14 06:39:25 +0000
commit5ef5bd7c3127f00dca54499b48802bba85953a6a (patch)
tree4ffadd85dae09280feb6bb6b8792d0297ed59b13 /server.c
parent7f98193beb9bb6cdc11776478784ad356f32785b (diff)
downloadrtmux-5ef5bd7c3127f00dca54499b48802bba85953a6a.tar.gz
rtmux-5ef5bd7c3127f00dca54499b48802bba85953a6a.tar.bz2
rtmux-5ef5bd7c3127f00dca54499b48802bba85953a6a.zip
Add a "back to indentation" key in copy mode to move the cursor to the first
non-whitespace character. ^ with vi and M-m with emacs key bindings. Another from Kalle Olavi Niemitalo, thanks.
Diffstat (limited to 'server.c')
-rw-r--r--server.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/server.c b/server.c
index 7f556952..fee656fd 100644
--- a/server.c
+++ b/server.c
@@ -1,4 +1,4 @@
-/* $Id: server.c,v 1.156 2009-07-14 06:38:14 nicm Exp $ */
+/* $Id: server.c,v 1.157 2009-07-14 06:39:25 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -351,6 +351,9 @@ server_main(int srv_fd)
server_handle_windows(&pfd);
server_handle_clients(&pfd);
+ /* Collect any unset key bindings. */
+ key_bindings_clean();
+
/*
* If we have no sessions and clients left, let's get out
* of here...