Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

Unicode breaks link detection #42

Closed

Description

@kuukunen

I hope this comes through the internet fine...

If you type something like this:
(  ゚,_ゝ゚) http://google.fi

It will get the start of the link incorrectly and clicking it will go to http://google.f
And the Problem will be for all links after the unicode string as long as it's on screen.
And adding multiple problematic characters will shift it further, so next it will try to go to: ) http://google.

Activity

  1. kuukunen commented on Jun 25, 2012

    @kuukunen
    Author

    Oh and I'd like to mention this is absolutely infuriating on IRC channels that tend to use silly unicode. Basically none of the links work by clicking. I know people who have switched to mintty+ssh just because of that one single issue.

  2. kuukunen commented on Jun 25, 2012

    @kuukunen
    Author

    Actually, I think it's that character causing problems: http://www.fileformat.info/info/unicode/char/3000/index.htm
    As in " "

  3. FauxFaux commented on Jun 26, 2012

    @FauxFaux
    Owner

    Yeah, I can reproduce this. I've had a quick look and can't see an immediate fix, and will be away for a few weeks...

  4. added a commit that references this issue on Jul 23, 2012
  5. incognico commented on Aug 7, 2012

    @incognico

    I can reproduce this also.

    Having one line is full of the unicode 0x2500 box drawing chars and every link below the line (no matter where unicode line is) will get 'detected' one line above the actual link. So I can not highlight the link hovering over it but the text in exactly one line above. See http://i.imgur.com/Ovi6a.png - it is really annoying :P

  6. FauxFaux commented on Aug 8, 2012

    @FauxFaux
    Owner

    Yeah, that's the same bug. The code is just so wrong that it's funny.

  7. added a commit that references this issue on Aug 23, 2012
  8. FauxFaux commented on Aug 27, 2012

    @FauxFaux
    Owner

    @twpol's fix looks good; will test for a while then release.

  9. FauxFaux commented on Sep 10, 2012

    @FauxFaux
    Owner

    Right, apparently "∀" still breaks it. I'm guessing it's a double-width character that chooses to render as single width.
    U+0500, Ԁ, Lu, CYRILLIC CAPITAL LETTER KOMI DE too.
    益 the other way.

  10. added a commit that references this issue on Sep 10, 2012
  11. twpol commented on Sep 11, 2012

    @twpol
    Contributor

    The problem with the original fix was that it worked entirely by chance on the particular Unicode face given; this new fix is wholy better. :)

  12. Berzerker commented on Oct 7, 2012

    @Berzerker

    Is there a built exe that someone can link for this? Or is there a link somewhere? Thanks.

  13. 6 remaining items

  14. added a commit that references this issue on Mar 20, 2013
  15. added 2 commits that reference this issue on Apr 13, 2013
  16. added 2 commits that reference this issue on Jun 1, 2013
  17. added 4 commits that reference this issue on Jul 13, 2013
  18. added 6 commits that reference this issue on Aug 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions