Use terminfo for keybind