#147. Click on hyperlink

This commit is contained in:
Roman Shevchenko 2019-03-15 16:55:40 +03:00
parent 838596b804
commit cae7f5a398
1 changed files with 4 additions and 0 deletions

View File

@ -75,6 +75,10 @@ func (buffer *Buffer) GetURLAtPosition(col uint16, viewRow uint16) string {
return ""
}
if cell.IsHyperlink() {
return cell.hyperlink.Uri
}
candidate := ""
for i := col; i >= uint16(0); i-- {