liamg / darktile

:waning_crescent_moon: Darktile is a GPU rendered terminal emulator designed for tiling window managers.
MIT License
3.04k stars 112 forks source link

Smarter URL/URI parsing #265

Closed rrrooommmaaa closed 5 years ago

rrrooommmaaa commented 5 years ago

Description

Previously, a text prompt>ssh://somewhere was parsed incorrectly whene detecting URL on mouse hover/click. Resulting URL was prompt>ssh://somewhere. Now that we stop selecting URL on any non-Latin character left of ://, the result will be ssh://somewhere

Fixes # 205 (partially)

Type of change

How Has This Been Tested?

On Windows, the prompt terminates with > character. Type ssh://somewhere right after the prompt. Click on it. It should redirect you to the correct site.

Test Configuration: