summaryrefslogtreecommitdiffstats
path: root/cmd-list-clients.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-01-09 16:45:58 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-01-09 16:45:58 +0000
commited1031b358967b9a3037a8c5c72caae17ce2961c (patch)
treeb53b670692057cb4b9560984444c5144ff2eca31 /cmd-list-clients.c
parent622d4def2283e6fdc13dae33d8814e2af5169a65 (diff)
Update key handling code. Simplify, support ctrl properly and add a new window option (xterm-keys) to output xterm key codes including ctrl and, if available, alt and shift.
Diffstat (limited to 'cmd-list-clients.c')
-rw-r--r--cmd-list-clients.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd-list-clients.c b/cmd-list-clients.c
index 9d6d32e4..c9ab802d 100644
--- a/cmd-list-clients.c
+++ b/cmd-list-clients.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-list-clients.c,v 1.9 2009-01-07 20:11:51 nicm Exp $ */
+/* $Id: cmd-list-clients.c,v 1.10 2009-01-09 16:45:58 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -47,7 +47,6 @@ cmd_list_clients_exec(unused struct cmd *self, struct cmd_ctx *ctx)
{
struct client *c;
u_int i;
- char options[256];
for (i = 0; i < ARRAY_LENGTH(&clients); i++) {
c = ARRAY_ITEM(&clients, i);