b5418f2eeae23a2e137bbde74b954144e42edb34
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
98.1%
Python
1.1%
Shell
0.6%
Nix
0.2%