3 ms·
To add, you can read the kb events even in a command line program. Using GUI APIs works fine in terminal programs if the GUI is running. Works even remotely in
by fulafel 5y ago
To add, you can read the kb events even in a command line program. Using GUI APIs works fine in terminal programs if the GUI is running. Works even remotely in a GUI that support network transparency, like X does. Eg like this:
https://stackoverflow.com/a/4037579 https://stackoverflow.com/a/4037579