jesseduffield.lazygit/pkg
Stefan Haller 95fc3dbe24 Truncate the path column of the recent repos menu too
The path column is the last one, so nothing pushes it aside; instead it
runs off the right edge of the menu itself, and the reader has no way of
telling that there is more to it. Give it a maximum width as well, sized
so that the three columns and the spaces between them fill the menu at
its widest.

A path loses its middle rather than its end, because the directory that
immediately contains the repo says more about where it is than the root
of the tree does. The whole path, with the home directory still
abbreviated, joins the names in the tooltip when it doesn't fit.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-07 19:08:19 +02:00
..
app Recognize a repo that has no work tree instead of bailing out 2026-08-08 11:15:01 +02:00
cheatsheet Fix linter warning about WriteString(fmt.Sprintf(...)) 2026-08-16 16:35:11 +02:00
commands Avoid rehydrating unchanged rebase todos 2026-08-29 17:25:59 +02:00
common Move NewDummyCommon to pkg/common 2025-05-06 09:43:26 +02:00
config Validate the context names in the "context" field of custom commands 2026-09-03 21:07:32 +02:00
constants Adapt links 2026-07-31 08:42:51 +02:00
env Remember how to get back to a repo we entered a submodule from 2026-08-08 11:15:01 +02:00
fakes Modernize all codes 2025-11-15 10:46:23 +01:00
gocui Show the search status of what a re-rendered view now holds 2026-09-05 15:09:52 +02:00
gui Truncate the path column of the recent repos menu too 2026-09-07 19:08:19 +02:00
i18n Truncate the path column of the recent repos menu too 2026-09-07 19:08:19 +02:00
integration Truncate the path column of the recent repos menu too 2026-09-07 19:08:19 +02:00
jsonschema Fix use of reflect.Ptr 2026-08-16 16:35:11 +02:00
logs Separate the runs in the debug log with a blank line 2026-08-15 09:48:11 +02:00
snake Remove a few unnecessary parentheses 2026-08-13 20:40:11 +02:00
tasks Hold a task while a view is read to its end 2026-09-05 15:09:52 +02:00
theme Copy gocui files into lazygit repo under pkg/gocui 2026-04-30 14:29:08 +02:00
updates Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
utils Add a truncation function that puts the ellipsis in the middle 2026-09-07 19:01:55 +02:00