summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-04-17 00:00:40 +0200
committerewy <ewy0@protonmail.com>2026-04-17 00:00:40 +0200
commit022072ce8bac114ea0a7b94132ed3b8630de2f90 (patch)
tree199fb99ab9e242b6eb195c2b1180e58caa4303d6 /main.go
parentfbdc2b9d849913ccf8dd7a9001012ce2d28cbd2f (diff)
* fix bug which prevented multiple sources from showing up in the tui at the same time
* add padding to bottom of sources * add git status panel to bottom of tui
Diffstat (limited to 'main.go')
-rw-r--r--main.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/main.go b/main.go
index d12f203..8ea2e14 100644
--- a/main.go
+++ b/main.go
@@ -7,6 +7,7 @@ import (
"pik/cache"
"pik/crawl"
"pik/flags"
+ "pik/git"
"pik/indexers/pikdex"
"pik/menu"
"pik/model"
@@ -20,8 +21,9 @@ import (
"pik/spool"
)
-var initializers = []model.HasInit{
+var initializers = []model.Initializer{
python.Python,
+ git.Git,
}
var indexers = []model.Indexer{
@@ -35,8 +37,9 @@ var runners = []model.Runner{
python.Python,
}
-var hydrators = []model.Hydrator{
+var hydrators = []model.Modder{
pikdex.Indexer,
+ git.Git,
}
var ForceConfirm = false