This commit is contained in:
Roman Shevchenko 2019-03-16 14:39:17 +03:00
parent 394bc54473
commit d1669c6ab8
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ func (buffer *Buffer) GetURLAtPosition(col uint16, viewRow uint16) string {
if protocolMode && !(c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') {
break
}
candidate = fmt.Sprintf("%c%s", cell.Rune(), candidate)
candidate = fmt.Sprintf("%c%s", c, candidate)
if !protocolMode && c == ':' {
protocolMode = strings.Contains(candidate, "://")
}