Enforcing new browser window option also for non-graphical browsers

This commit is contained in:
Pablo Arias
2019-04-17 22:36:28 +02:00
parent 9e6b4e50aa
commit d4a7499018

View File

@@ -632,7 +632,10 @@ class Terminal(object):
pass
else:
with self.suspend():
webbrowser.open_new_tab(url)
if self.config['force_new_browser_window']:
webbrowser.open_new(url)
else:
webbrowser.open_new_tab(url)
def open_pager(self, data, wrap=None):
"""