Quick man page update, also fix some usages and get rid of some CMD_KEY checks.

This commit is contained in:
Nicholas Marriott
2008-06-02 21:36:51 +00:00
parent 259dcbbc93
commit 95cc21c251
11 changed files with 73 additions and 55 deletions

View File

@ -1,4 +1,4 @@
/* $Id: cmd-copy-mode.c,v 1.5 2008-06-02 18:08:16 nicm Exp $ */
/* $Id: cmd-copy-mode.c,v 1.6 2008-06-02 21:36:51 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -48,8 +48,7 @@ cmd_copy_mode_exec(unused void *ptr, struct cmd_ctx *ctx)
if ((s = cmd_sessiononly_get(ptr, ctx)) == NULL)
return;
if (ctx->flags & CMD_KEY)
window_set_mode(s->curw->window, &window_copy_mode);
window_set_mode(s->curw->window, &window_copy_mode);
if (ctx->cmdclient != NULL)
server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0);