You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it technically possible to implement a b url command that could communicate over the web socket back to the browser that the terminal is accessed using, and have the browser side code open the supplied URL in a new window/tab of the browser?
If this was available, then one could create a fake script xdg-open and put it in the PATH which actually called b url. That way Python applications that use webbrowser.open(), including the b open command, or any other applications that tries to use a similar approach to open a URL in a browser, would be able to work where the terminal session is actually running on a remote system to the browser.
If you think this is technically possibly and can provide pointers of how it could be integrated, then I can have a go at adding support for it. Thanks.
The text was updated successfully, but these errors were encountered:
Is it technically possible to implement a
b url
command that could communicate over the web socket back to the browser that the terminal is accessed using, and have the browser side code open the supplied URL in a new window/tab of the browser?If this was available, then one could create a fake script
xdg-open
and put it in thePATH
which actually calledb url
. That way Python applications that usewebbrowser.open()
, including theb open
command, or any other applications that tries to use a similar approach to open a URL in a browser, would be able to work where the terminal session is actually running on a remote system to the browser.If you think this is technically possibly and can provide pointers of how it could be integrated, then I can have a go at adding support for it. Thanks.
The text was updated successfully, but these errors were encountered: