910e9233a33e4b6c6eb5157bd0be9557d23c03d1
Improve grid viewport calculations by using actual column widths instead of rough estimates. This ensures that the viewport scrolls correctly when the cursor moves past the visible area. - Move column width and visible column calculations to public functions in `src/ui/grid.rs`. - Update `App::cmd_context` to use these precise calculations for `visible_cols` . - Add a regression test to verify that `col_offset` scrolls when cursor moves past visible columns. Co-Authored-By: fiddlerwoaroof/git-smart-commit (unsloth/gemma-4-31B-it-GGUF:UD-Q5_K_XL)
Description
Languages
Rust
74.2%
Nix
24.5%
Python
0.9%
Shell
0.4%