Enforcing new browser window option also for non-graphical browsers
This commit is contained in:
@@ -632,7 +632,10 @@ class Terminal(object):
|
|||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
with self.suspend():
|
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):
|
def open_pager(self, data, wrap=None):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user