From b85a344cb2f40837a56a7144756b8c5a88e042aa Mon Sep 17 00:00:00 2001 From: Jose Augusto Date: Sun, 27 Dec 2020 17:55:53 -0300 Subject: [PATCH] fix: #323 --- terminatorlib/terminal.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 42de222a..f95b8141 100644 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -1523,9 +1523,7 @@ class Terminal(Gtk.VBox): url = urlmatch[0] match = urlmatch[1] - if match == self.matches['email'] and url[0:7] != 'mailto:': - url = 'mailto:' + url - elif match == self.matches['addr_only'] and url[0:3] == 'ftp': + if match == self.matches['addr_only'] and url[0:3] == 'ftp': url = 'ftp://' + url elif match == self.matches['addr_only']: url = 'http://' + url