From 557b6b86b0b153b98f06897756d2ebd5ca53b78a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 15 Jun 2008 08:01:54 +0000 Subject: Add a couple of extra option types, and implement show-options command. --- server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server.c') diff --git a/server.c b/server.c index ae97e1d5..53053415 100644 --- a/server.c +++ b/server.c @@ -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 @@ -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); -- cgit