firecat53 / urlscan

Mutt and terminal url selector (similar to urlview)
GNU General Public License v2.0
214 stars 38 forks source link

Urlscan breaks parent process (alot) when using clipboard. #106

Closed mmartin closed 3 years ago

mmartin commented 3 years ago

After launching urlscan from alot (also an urwid application) and using clipboard functionality (xclip), when I quit urlscan and return to alot it is left in a broken state:

Opening URLs (xdg-open) works just fine.

I have a fix in my repo (https://github.com/mmartin/urlscan/commit/68f77d894a9480c8a37090f2f518672be732fcb1), but I'm not quite sure why it works, though.

Maybe You have an idea what is happening and/or are willing to merge my fix?

firecat53 commented 3 years ago

To be honest, I'm not sure why that fix works either! But, it didn't break anything that I can see. How did you figure it out?

mmartin commented 3 years ago

Trial and error, unfortunately.