3 ms·
Yeah that's interesting. I didn't think handling mouse clicks was possible. Wonder how it's done.
by tayo42 3y ago
Yeah 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.