Hyperline / hyperline

✨ Status line plugin for Hyper ✨
MIT License
619 stars 120 forks source link

Copy hostname and IP when clicked (#182) #183

Closed Serializator closed 2 years ago

Serializator commented 5 years ago

In advance, this pull request might have a merge conflict with #174 In addition to the suggestion in #182 to copy the IP, I also made the hostname copyable.

Because Hyperline decorated the Hyper instead of the Term component, and used absolute positioning, the "onClick" event handler wasn't executed. This is why I decided to decorate the Term component so that the console part doesn't overlap with the Hyperline component and is still at the bottom.

Screenshot 2019-06-26 at 22 48 18

^ ppssstt, the IP is made up by my beautiful imagination capabilities

Serializator commented 2 years ago

Closing this PR due to inactivity since mid-2019.