mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-02 08:57:19 -04:00
[session] Because all terminals are slaves, choose first session for remote.
This commit is contained in:
parent
f89b26d5b2
commit
2273c4a370
@ -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
|
* to hook up with the master so we can handle request for
|
||||||
* stuff in current tab. */
|
* stuff in current tab. */
|
||||||
base_session = get_master_session();
|
base_session = get_master_session();
|
||||||
if (!base_session) return 0;
|
if (!base_session) {
|
||||||
|
base_session = sessions.next;
|
||||||
|
|
||||||
|
if (!base_session) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user