Skip to content

Commit

Permalink
Merge pull request #280 from mattrose/term-links
Browse files Browse the repository at this point in the history
support for SSH URIs
  • Loading branch information
mattrose authored Nov 9, 2020
2 parents e6853fd + 77198d3 commit 316afbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terminatorlib/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def update_url_matches(self):
passchars = "-A-Za-z0-9,?;.:/!%$^*&~\"#'"
hostchars = "-A-Za-z0-9:\[\]"
pathchars = "-A-Za-z0-9_$.+!*(),;:@&=?/~#%'"
schemes = "(news:|telnet:|nntp:|file:/|https?:|ftps?:|webcal:)"
schemes = "(news:|telnet:|nntp:|file:/|https?:|ftps?:|webcal:|ssh:)"
user = "[" + userchars + "]+(:[" + passchars + "]+)?"
urlpath = "/[" + pathchars + "]*[^]'.}>) \t\r\n,\\\"]"

Expand Down

0 comments on commit 316afbc

Please sign in to comment.