summaryrefslogtreecommitdiffstats
path: root/cmd-kill-window.c
authornicm <nicm>2007-12-06 09:46:21 (GMT)
committer nicm <nicm>2007-12-06 09:46:21 (GMT)
commit2964df2baec443cbb7d1fd50c2cb321808f7e6fa (patch) (side-by-side diff)
treec961864edac49e46eb595b0cdd01120fa659ef66 /cmd-kill-window.c
parent555af2378f383cdee2ecb938b2c6cfcc84d3c7b3 (diff)
downloadtmux-old-2964df2baec443cbb7d1fd50c2cb321808f7e6fa.zip
tmux-old-2964df2baec443cbb7d1fd50c2cb321808f7e6fa.tar.gz
tmux-old-2964df2baec443cbb7d1fd50c2cb321808f7e6fa.tar.bz2
Major reorganisation of screen handling.
Diffstat (limited to 'cmd-kill-window.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd-kill-window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-kill-window.c b/cmd-kill-window.c
index 91726dd..9c4d921 100644
--- a/cmd-kill-window.c
+++ b/cmd-kill-window.c
@@ -41,7 +41,7 @@ const struct cmd_entry cmd_kill_window_entry = {
"kill-window", "killw", "[-i index]",
CMD_NOCLIENT,
cmd_kill_window_parse,
- cmd_kill_window_exec,
+ cmd_kill_window_exec,
cmd_kill_window_send,
cmd_kill_window_recv,
cmd_kill_window_free
@@ -69,7 +69,7 @@ cmd_kill_window_parse(void **ptr, int argc, char **argv, char **cause)
default:
goto usage;
}
- }
+ }
argc -= optind;
argv += optind;
if (argc != 0)
@@ -117,7 +117,7 @@ cmd_kill_window_exec(void *ptr, struct cmd_ctx *ctx)
} else
server_redraw_client(c);
}
-
+
if (ctx->cmdclient != NULL)
server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0);
}