diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-15 08:01:54 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-15 08:01:54 +0000 |
commit | 557b6b86b0b153b98f06897756d2ebd5ca53b78a (patch) | |
tree | 7eb2b76e7faa7bb5c89f20fee68571425aea7ce0 /server.c | |
parent | 0591d9ff12b29c552f7baf4c199015cfd3cbf8a9 (diff) | |
download | rtmux-557b6b86b0b153b98f06897756d2ebd5ca53b78a.tar.gz rtmux-557b6b86b0b153b98f06897756d2ebd5ca53b78a.tar.bz2 rtmux-557b6b86b0b153b98f06897756d2ebd5ca53b78a.zip |
Add a couple of extra option types, and implement show-options command.
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: server.c,v 1.63 2008-06-14 16:47:20 nicm Exp $ */ +/* $Id: server.c,v 1.64 2008-06-15 08:01:54 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -485,7 +485,7 @@ server_handle_client(struct client *c) struct window *w = c->session->curw->window; int key, prefix; - prefix = options_get_number(&c->session->options, "prefix-key"); + prefix = options_get_key(&c->session->options, "prefix-key"); while (tty_keys_next(&c->tty, &key) == 0) { if (c->flags & CLIENT_PREFIX) { key_bindings_dispatch(key, c); |