charmbracelet / vhs

Your CLI home video recorder 📼
MIT License
14.8k stars 249 forks source link

display key *names* #164

Open xkcd386at opened 1 year ago

xkcd386at commented 1 year ago

Awesome project thank you.

What I would like to see is the key names, at least for non-printing keys (like Enter, Escape, etc.), so when a user sees a demo he sees across the bottom what keys are being typed.

I've seen some tools do this. Apologies if I am not explaining it well.

donovanhubbard commented 8 months ago

One way to implement this might be to add the feature to ttyd which is what vhs uses to render the terminal.

Utagai commented 4 months ago

This is something I've wanted pretty badly for another project of mine where the keypresses are important to show in the recording. I've made some headway over here.

P.S. After talking about it with someone on the Charm Discord, I decided that it should be done in a third program, rather than inside ttyd or vhs.

P.P.S. After talking to Maas, it seems like this is now something that will hopefully be merged into vhs!

Utagai commented 4 months ago

You can follow the work on this at my branch.