er for the key_pressed events when editing the
        keybindings.  This lets us control what gets inserted into the
        entry.
        TFr