input: accept only the four iTerm sequences that actually get handled

This fixes https://savannah.gnu.org/bugs/?48455.
1 file changed