tmux-plugins / tmux-urlview

Quickly open any url on your terminal window!
MIT License
266 stars 33 forks source link

Unwrap lines before calling `urlview` #1

Closed laomaiweng closed 9 years ago

laomaiweng commented 9 years ago

tmux-urlview fails to correctly detect line-wrapped URLs and truncates the URL. This PR adds the -J flag to have tmux join wrapped lines when capturing the pane contents.

From the tmux man page section on capture-pane:

-J joins wrapped lines and preserves trailing spaces at each line's end.
jbnicolai commented 9 years ago

@laomaiweng thanks for all the effort in your recent PRs - much appreciated :)

laomaiweng commented 9 years ago

You're welcome! Thanks for the helpful plugin. :)