1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-26 16:45:12 -04:00

[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

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;