johnnovak / illwill

A curses inspired simple cross-platform console library for Nim
Do What The F*ck You Want To Public License
398 stars 27 forks source link

Basic mouse support? #8

Closed enthus1ast closed 4 years ago

enthus1ast commented 4 years ago

It would be super awesome if illwill could emit basic mouse events! Any chance this will be implemented? :)

enthus1ast commented 4 years ago

added experimental mouse support for linux https://github.com/enthus1ast/illwill

enthus1ast commented 4 years ago

https://github.com/enthus1ast/illwillWidgets

0xACE commented 4 years ago

Example link can be found here: https://github.com/enthus1ast/illwill/blob/master/examples/mouse.nim

+1 from me to get it merged upstream...

enthus1ast commented 4 years ago

not ready yet for pr:

skellock commented 4 years ago

Works well on the mac (10.15.2). Tried fish, bash, and zsh. Also tried in & out of tmux.

Well done.

illwill-mouse

Edit 1: Tried in iTerm2 and the built-in terminal apps.

enthus1ast commented 4 years ago

added windows support https://github.com/enthus1ast/illwill

johnnovak commented 4 years ago

@enthus1ast illwillWidgets looks quite cool! I'll play around a bit with it later when I'll have some time!