Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open URL in running instance #73

Closed
4217th opened this issue Sep 13, 2018 · 7 comments
Closed

Open URL in running instance #73

4217th opened this issue Sep 13, 2018 · 7 comments

Comments

@4217th
Copy link

4217th commented Sep 13, 2018

Is it possible to get urlscan to open new tabs in a running browser instance, rather than opening an instance which then blocks mutt/urlscan?
I cant find a way to configure what happens when enter is pressed on a selected url...

@firecat53
Copy link
Owner

firecat53 commented Sep 13, 2018 via email

@4217th
Copy link
Author

4217th commented Sep 13, 2018

I'm using qutebrowser (export BROWSER=/usr/bin/qutebrowser) and the macro provided in the urlscan README and urlscan opens a new window and is blocked until that process is killed.

eg I use urlscan to open a link, switching back to urlscan won't let me select another link or return to the email without closing the browser itself or keyboard-interrupt in the urlscan/mutt shell.

edit:
I just tried with reddit terminal viewer and here urlscan works as expected, so there seems to be something wrong with my mutt config.

I don't have any special settings in my muttrc that I know of, though

@firecat53
Copy link
Owner

firecat53 commented Sep 13, 2018 via email

@4217th
Copy link
Author

4217th commented Sep 13, 2018

Turns out I need to select urls with "space" when I use URLscan in mutt while in eg reddit terminal browser "cr" works aswell

Not sure if I'm an idiot and this should have been obvious or if this weird behaviour (I'm fairly new to mutt)

@firecat53
Copy link
Owner

No, 'Enter' works just like 'space' on my machine. Never heard of anyone having trouble with that. It's wired into the Urwid module. There's nothing in urlscan that drives which key opens the url. Maybe check what versions of urwid and python you have installed?

@firecat53
Copy link
Owner

Any other info or changes with your issue/setup?

@firecat53
Copy link
Owner

Closing...let me know if you have any more trouble with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants