Command input

Example input shows how to create a window that reads text typed by the user and displays it.

Note that while this boiler plate will get you up and running, the true complexity that makes this example work is in xgbutil/keybind. Basically, this is where the translation from a (modifier, keycode) tuple to a single character is done. It is by no means comprehensive and most definitely will not work in all environments (particularly with other languages).