jesseduffield.lazygit/pkg/gui/presentation
Stefan Haller 5b613f5bc7 Remove ColoredBranchStatus and branchStatusColor
Previously the entire status was colored in a single color, so the API made
sense. This is going to change in the next commit, so now we must include the
color in the string returned from BranchStatus(), which means that callers who
need to do hit detection or measure the length need to decolorize it.

While we're at it, switch the order of ↑3↓7 to ↓7↑3. For some reason that I
can't really explain I find it more logical this way. The software out there is
pretty undecided about it, it seems: VS Code puts ↓7 first, and so does the
shell prompt that comes with git; git status and git branch -v put "ahead" first
though. Shrug.
2024-06-03 13:02:46 +02:00
..
authors Right-align key labels in menu 2023-05-21 12:09:43 +10:00
graph Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
icons create iconProperties struct and convert iconMaps to use iconProperties 2023-10-18 21:21:36 +11:00
branches.go Remove ColoredBranchStatus and branchStatusColor 2024-06-03 13:02:46 +02:00
branches_test.go Remove ColoredBranchStatus and branchStatusColor 2024-06-03 13:02:46 +02:00
commits.go Enable the commit graph in the divergence view 2024-04-30 13:50:46 +02:00
commits_test.go Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
files.go Add config setting to suppress showing file icons 2024-01-22 08:40:03 +01:00
files_test.go Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
item_operations.go Show inline waiting status when checking out a local branch 2024-03-17 07:53:38 +01:00
reflog_commits.go rename sha to hash 10, last remaining sha (hopefully) 2024-04-12 08:33:47 +02:00
remote_branches.go Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
remotes.go Add SpinnerConfig 2024-04-06 13:46:15 +02:00
stash_entries.go feat: add age on stash lines 2023-12-27 11:21:49 +01:00
status.go Remove ColoredBranchStatus and branchStatusColor 2024-06-03 13:02:46 +02:00
submodules.go Show all submodules recursively 2024-03-07 20:16:28 +01:00
suggestions.go Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
tags.go Add SpinnerConfig 2024-04-06 13:46:15 +02:00
working_tree.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
worktrees.go Use fields rather than methods on worktrees 2023-07-30 18:35:24 +10:00