You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix terminal size query in handle_enter for test environments
The CI tests were failing because handle_enter() was using
crossterm::terminal::size() which throws errors in test environments
where TestBackend doesn't support terminal size queries.
Changed to use self.terminal.size().unwrap_or(24) to match the
graceful fallback pattern used in handle_create_key(), providing
a reasonable default height when the terminal size cannot be queried.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments