harden terminal ui states and drawer focus handling
Some checks failed
CI / Validate (pull_request) Failing after 18s