1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Don't copy current tab when using -remote

In init_remote_session, pass open_uri_in_new_tab a false argument for the based parameter so that the new tab does not get the old tabs current location in its history.
This commit is contained in:
Miciah Dashiel Butler Masters 2007-12-23 13:56:34 +00:00
parent eb2db32f1e
commit f598226be4

View File

@ -932,7 +932,7 @@ init_remote_session(struct session *ses, enum remote_session_flags *remote_ptr,
* inaccessible. Maybe we should not support this kind
* of thing or make the window focus detecting code
* more intelligent. --jonas */
open_uri_in_new_tab(ses, uri, 0, 1);
open_uri_in_new_tab(ses, uri, 0, 0);
if (remote & SES_REMOTE_PROMPT_URL) {
dialog_goto_url_open(ses);