mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
When text in an input field overflows the visible width, the viewport scrolls right to follow the cursor. After deleting characters with backspace, the scroll origin was not clamped back, leaving empty space on the right while earlier text remained hidden. Add GetContentWidth() to TextArea and clamp the horizontal scroll origin in RenderTextArea and the view resize path so the viewport never scrolls past the actual content width. Fixes #5633 Signed-off-by: Gautam Kumar <gautamkumarofficial@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| app | ||
| cheatsheet | ||
| commands | ||
| common | ||
| config | ||
| constants | ||
| env | ||
| fakes | ||
| gocui | ||
| gui | ||
| i18n | ||
| integration | ||
| jsonschema | ||
| logs | ||
| snake | ||
| tasks | ||
| theme | ||
| updates | ||
| utils | ||