diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-02 21:36:51 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-02 21:36:51 +0000 |
commit | 95cc21c25180d0f2e7b488983e3078834343d162 (patch) | |
tree | 5a934b9788ab33cd06d41c3216ab7524bf464766 /cmd-scroll-mode.c | |
parent | 259dcbbc9326689ab7e982a73ebbeff947f7260f (diff) | |
download | rtmux-95cc21c25180d0f2e7b488983e3078834343d162.tar.gz rtmux-95cc21c25180d0f2e7b488983e3078834343d162.tar.bz2 rtmux-95cc21c25180d0f2e7b488983e3078834343d162.zip |
Quick man page update, also fix some usages and get rid of some CMD_KEY checks.
Diffstat (limited to 'cmd-scroll-mode.c')
-rw-r--r-- | cmd-scroll-mode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd-scroll-mode.c b/cmd-scroll-mode.c index a7252e8b..86432fd8 100644 --- a/cmd-scroll-mode.c +++ b/cmd-scroll-mode.c @@ -1,4 +1,4 @@ -/* $Id: cmd-scroll-mode.c,v 1.7 2008-06-02 18:08:16 nicm Exp $ */ +/* $Id: cmd-scroll-mode.c,v 1.8 2008-06-02 21:36:51 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -48,8 +48,7 @@ cmd_scroll_mode_exec(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_scroll_mode); + window_set_mode(s->curw->window, &window_scroll_mode); if (ctx->cmdclient != NULL) server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0); |