Display pressed keys in the terminal
Project description
⌨️ Terminal Key Monitor 📟
Show pressed keys in the terminal. Useful e.g. when recording asciinema screencasts.
termkeymonitor
connects directly to a local input device using evdev
.
📥 Installation
# from PyPI
pip install termkeymonitor
# directly from GitLab
pip install git+https://gitlab.com/nobodyinperson/termkeymonitor.git
❓ Usage
# use any of the below commands to invoke
termkeymonitor
python -m termkeymonitor
python3 -m termkeymonitor
🎥 Screencast
⚠️i Caveats
- no Windows support (I guess...
evdev
only works on Unix-likes AFAIK) - needs a local keyboard connected so doesn't work as expected on remote machines (e.g. via SSH)
- Make sure you have permissions to access the
/dev/input/event*
files (this normally means you need to add yourself to theinput
group)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
termkeymonitor-1.4.2.tar.gz
(6.1 kB
view hashes)