7c7fbd3289f8b64ec834dd98117c8a11734cc19c
Adds a `mode()` method to the `Panel` enum to map panels to their corresponding `AppMode`. Simplifies `TogglePanelAndFocus` in `cmd.rs` to use this method instead of a manual match block. Also adds regression tests in `app.rs` to verify that viewport scrolling now correctly handles small terminal heights. Co-Authored-By: fiddlerwoaroof/git-smart-commit (unsloth/gemma-4-31B-it-GGUF:UD-Q5_K_XL)
Description
Languages
Rust
77.5%
Prolog
6.4%
Nix
6.1%
JavaScript
4.1%
Shell
3.5%
Other
2.3%