Show What Key Sequences Are Getting Sent To A Command Line App On A Mac

Run this on the command line then press a key sequence to see what's actually getting sent:

xxd -psd

I saw this when trying to figure out some issues with tmux to see what was being passed through.

When you're ready to quit, press Ctrlc

~ fin ~

References