keymap: Use hardcoded sequences instead of terminfo

https://bugzilla.gnome.org/show_bug.cgi?id=728900#c5