Change terminal-overrides to a server option (now that we have them), it

doesn't make much sense as a session option.
This commit is contained in:
nicm
2014-02-23 00:53:06 +00:00
parent 315d45a0eb
commit f1828921df
8 changed files with 58 additions and 59 deletions

View File

@ -132,7 +132,7 @@ cmd_attach_session(struct cmd_q *cmdq, const char *tflag, int dflag, int rflag,
server_redraw_client(cmdq->client);
s->curw->flags &= ~WINLINK_ALERTFLAGS;
} else {
if (server_client_open(cmdq->client, s, &cause) != 0) {
if (server_client_open(cmdq->client, &cause) != 0) {
cmdq_error(cmdq, "open terminal failed: %s", cause);
free(cause);
return (CMD_RETURN_ERROR);