1
0
Fork 0

[session] Because all terminals are slaves, choose first session for remote.

This commit is contained in:
Witold Filipczyk 2020-05-20 19:05:58 +02:00
parent f89b26d5b2
commit 2273c4a370
1 changed files with 7 additions and 1 deletions

View File

@ -1143,7 +1143,13 @@ decode_session_info(struct terminal *term, struct terminal_info *info)
* to hook up with the master so we can handle request for
* stuff in current tab. */
base_session = get_master_session();
if (!base_session) return 0;
if (!base_session) {
base_session = sessions.next;
if (!base_session) {
return 0;
}
}
break;