type method
Types keys into the inline session, as a terminal sends them; kept
for it until it opens.
Implementation
void type(String keys) {
final backend = _backend;
if (backend == null || backend.closed) {
_input.add(keys);
} else {
backend.type(keys);
}
}