pub(crate) fn steps_for_text(text: &str) -> Result<Vec<KeyStep>, String>Expand description
The keys that type text: each line break is a real Enter, a tab is Tab.
Other control characters are refused (a stray escape sequence is not text
the agent meant to type).