4 ms·
Wow, how is that even possible? The terminal examples are way more detailed than I would have imagined possible.
by dgellow 3y ago
Wow, how is that even possible? The terminal examples are way more detailed than I would have imagined possible.
- tayo42 3y agoYeah that's interesting. I didn't think handling mouse clicks was possible. Wonder how it's done.
- eichin 3y agofor most xterm-compatible terminals, you send an escape sequence that enables mouse tracking, and then mouse clicks turn into escape sequences.
- tayo42 3y agoThat's cool! Thanks
- joombaga 3y agoA lot of popular terminal apps support mouse clicks. Off the top of my head vim, emacs, htop, and links2 all have mouse support.