💾 Archived View for xoc3.io › blog › 2021-11-22 captured on 2023-07-22 at 16:36:43. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
here is a shameless self promotion about a little script i made a few weeks ago. that script is called "tmux key log" or "tkl". just run "tkl" and you can have a little key logger running in your tmux status bar. this is super nice if you give presentations through the terminal, which is why i made it.
before i began work on this script, i saw one tmux keylogger script, but i think the developer was really just trying to see if it could be implemented in bash instead of creating something super useful. anyways, here is that project:
tmux keylogger implementation in bash
i wrote my script in python using the "keyboard" library, which you can find here:
i made sure it worked on both arch linux and darwin. i actually found 2 bugs in the keyboard library for darwin, so i fixed those bugs in some prs:
some nice features of this little script:
here is an asciinema recording so you can see it for yourself:
and finally, here is that script you must be super excited about now: