mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Avoid creating primary window by default
Fixes https://github.com/tmate-io/tmate/issues/66
This commit is contained in:
parent
88dc3b5170
commit
f3e1670552
@ -158,7 +158,7 @@ static void tmate_sync_layout(__unused struct tmate_session *session,
|
||||
|
||||
s = RB_MIN(sessions, &sessions);
|
||||
if (!s) {
|
||||
s = session_create("default", 0, NULL, "/", "/",
|
||||
s = session_create("default", -1, NULL, "/", "/",
|
||||
NULL, NULL, 0, sx, sy, &cause);
|
||||
if (!s)
|
||||
tmate_fatal("can't create main session");
|
||||
|
Loading…
x
Reference in New Issue
Block a user