mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 15:26:58 +00:00
Next/last/previous window, some other tweaks.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* $Id: server-msg.c,v 1.21 2007-10-03 23:32:26 nicm Exp $ */
|
||||
/* $Id: server-msg.c,v 1.22 2007-10-04 00:02:10 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -123,7 +123,7 @@ server_msg_fn_command(struct hdr *hdr, struct client *c)
|
||||
else {
|
||||
ctx.session = server_find_sessid(&data.sid, &cause);
|
||||
if (ctx.session == NULL) {
|
||||
server_write_error(c, "%s", cause);
|
||||
server_msg_fn_command_error(&ctx, "%s", cause);
|
||||
xfree(cause);
|
||||
return (0);
|
||||
}
|
||||
@ -212,7 +212,7 @@ server_msg_fn_keys(struct hdr *hdr, struct client *c)
|
||||
fatalx("bad MSG_KEYS size");
|
||||
|
||||
if (c->flags & CLIENT_HOLD) {
|
||||
server_draw_client(c);
|
||||
server_redraw_client(c);
|
||||
c->flags &= ~CLIENT_HOLD;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user