mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
feat: add stash icon
This commit is contained in:
@ -13,6 +13,7 @@ const (
|
||||
COMMIT_ICON = "\ufc16" // ﰖ
|
||||
MERGE_COMMIT_ICON = "\ufb2c" // שּׁ
|
||||
DEFAULT_REMOTE_ICON = "\uf7a1" //
|
||||
STASH_ICON = "\uf01c" //
|
||||
)
|
||||
|
||||
type remoteIcon struct {
|
||||
@ -59,3 +60,7 @@ func IconForRemote(remote *models.Remote) string {
|
||||
}
|
||||
return DEFAULT_REMOTE_ICON
|
||||
}
|
||||
|
||||
func IconForStash(stash *models.StashEntry) string {
|
||||
return STASH_ICON
|
||||
}
|
||||
|
Reference in New Issue
Block a user