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 /cmd-send-prefix.c | |
parent | 0591d9ff12b29c552f7baf4c199015cfd3cbf8a9 (diff) |
Add a couple of extra option types, and implement show-options command.
Diffstat (limited to 'cmd-send-prefix.c')
-rw-r--r-- | cmd-send-prefix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-send-prefix.c b/cmd-send-prefix.c index b9c236a6..8e010b04 100644 --- a/cmd-send-prefix.c +++ b/cmd-send-prefix.c @@ -1,4 +1,4 @@ -/* $Id: cmd-send-prefix.c,v 1.14 2008-06-05 21:25:00 nicm Exp $ */ +/* $Id: cmd-send-prefix.c,v 1.15 2008-06-15 08:01:54 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -49,7 +49,7 @@ cmd_send_prefix_exec(struct cmd *self, struct cmd_ctx *ctx) if ((wl = cmd_find_window(ctx, data->target, &s)) == NULL) return; - window_key(wl->window, options_get_number(&s->options, "prefix-key")); + window_key(wl->window, options_get_key(&s->options, "prefix-key")); if (ctx->cmdclient != NULL) server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0); |