TUI Mouse Events
Dear beta testers,
I’ve just shipped the latest version of Terminal Click: TC v0.8.9. Recall that we are re-examining the basics to get us out of the beta and become a “fully grown” Terminal Click.
Although I wanted to do a serious performance pass, people were clamoring for mouse clicks, scroll, etc. to work inside TUIs first. Ask and you shall (usually!) receive :)
P.S. As usual, whatever works on macOS will work on Windows and Linux too!
TUI Mouse Events
Terminal Click now allows TUIs to receive a user’s mouse inputs:
In the last version I was exclusively supporting the keyboard instead of the mouse. This is no longer the case. Mouse events also work over the network! If you’re using vim, make sure you run the command :set mouse=a first.
If there’s still a hiccup you might notice with TUIs, contact me at once. I’ve also continued the (never-ending) polish with unicode:
UTF-8 Support during Offline Replay
You’ll remember the sad business from last time regarding unicode:
- UTF-8 support is currently disabled throughout a replay.
Well weep no longer! We can now replay any command, including those with heavy unicode codepoints:
Correctly Handling Incomplete UTF-8 Sequences
When a terminal reads bytes from a PTY device, it may not receive all bytes from a UTF-8 sequence until the next available read() call. This can lead to visual glitches unless we “hold off” on processing said bytes. This sounds simple conceptually, but the machinery of terminals doesn’t make it straightforward.
We now handle this scenario correctly, so all the visual glitches should be gone.
Next TC Release: Performance Optimizations (Take Two)
As I said, core performance improvements are my ongoing priority, but I wanted to work on these requests from beta testers. And I gotta say it was really worth it: another big step towards that stable 1.0!
Catch you this July,
Abner