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

@ -145,7 +145,7 @@ cmd_new_session_exec(struct cmd *self, struct cmd_q *cmdq)
/* Open the terminal if necessary. */
if (!detached && !already_attached) {
if (server_client_open(c, NULL, &cause) != 0) {
if (server_client_open(c, &cause) != 0) {
cmdq_error(cmdq, "open terminal failed: %s", cause);
free(cause);
goto error;