mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Quick man page update, also fix some usages and get rid of some CMD_KEY checks.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user