input: kitty: return the result of term_to_slave()

If term_to_slave() fails, then the key wasn’t ‘handled’...
This commit is contained in:
Daniel Eklöf 2021-12-12 15:08:46 +01:00
parent aeeaf9c0ec
commit fe851a6936
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1412,8 +1412,7 @@ emit_escapes:
} }
} }
term_to_slave(term, buf, sizeof(buf) - left); return term_to_slave(term, buf, sizeof(buf) - left);
return true;
} }
static void static void