Restore chat input focus when the terminal regains OS focus.
When the user opens a link via webbrowser.open, OS focus shifts to
the browser. On returning to the terminal, Textual fires AppFocus
(requires a terminal that supports FocusIn events). Re-focusing the chat
input here keeps it ready for typing.
on_app_focus(
self,
) -> None