Pass keypresses through key_name().

  ncurses provides the `key_name` function to convert between
 a char and a string representing the key, taking into account
 ctrl- + meta-.

  This means Ctrl-r is now reported as ^R, and can be both bound
 and looked up as such.