summaryrefslogtreecommitdiffstats
path: root/pkg/utils
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-09-03 19:33:37 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-09-03 19:33:37 +1000
commit4ab1a1f72be0330242a6a432b4d197fac375d4a9 (patch)
treef477b3904fc140719b1d88cc3f7530079a870366 /pkg/utils
parenta9cd27707015a99df34aefd27471328ca23c8b3f (diff)
parentd8aba3aeee2f7811c383305a5beb7253a748f02f (diff)
Merge branch 'master' into hotfix/238-xdg-open
Diffstat (limited to 'pkg/utils')
-rw-r--r--pkg/utils/utils.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/utils/utils.go b/pkg/utils/utils.go
index 1d5f0f273..e28ab1824 100644
--- a/pkg/utils/utils.go
+++ b/pkg/utils/utils.go
@@ -83,6 +83,7 @@ func GetProjectRoot() string {
return strings.Split(dir, "lazygit")[0] + "lazygit"
}
+// Loader dumps a string to be displayed as a loader
func Loader() string {
characters := "|/-\\"
now := time.Now()