Hacker News new | past | comments | ask | show | jobs | submit login

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




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: