This box behaves exactly like the terminal's hidden input: same diff controller, same clear-at-word-boundary. Type a word, then space. The green box shows what the terminal would receive (⌫ = backspace \x7f, ⏎ = \r). Screenshot the log.