chiark / gitweb /
terminal/screen: add keyboard mapping
authorDavid Herrmann <dh.herrmann@gmail.com>
Fri, 3 Oct 2014 10:50:41 +0000 (12:50 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Fri, 3 Oct 2014 13:57:00 +0000 (15:57 +0200)
commitf8958c3495edf6d1563a5309e84bd68931a46213
tree96143427eb166ddb8221e44963b5a60bc88adba7
parentfe741a85c1912ead26c1a78251e1d490a8a432b3
terminal/screen: add keyboard mapping

Implement the feed_keyboard() handling by mapping XKB keys according to
DEC-VT behavior.

Public information on terminal key-mappings is pretty scarce. We only
implement the most basic mapping for now. Further improvements welcome!
src/libsystemd-terminal/term-screen.c
src/libsystemd-terminal/term.h