Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wow, how is that even possible? The terminal examples are way more detailed than I would have imagined possible.


Yeah that's interesting. I didn't think handling mouse clicks was possible. Wonder how it's done.


A lot of popular terminal apps support mouse clicks. Off the top of my head vim, emacs, htop, and links2 all have mouse support.


for most xterm-compatible terminals, you send an escape sequence that enables mouse tracking, and then mouse clicks turn into escape sequences.


That's cool! Thanks




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: