diff options
Diffstat (limited to 'aerc.go')
-rw-r--r-- | aerc.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/aerc.go b/aerc.go index 1b51d6d..12d9453 100644 --- a/aerc.go +++ b/aerc.go @@ -19,6 +19,7 @@ import ( "git.sr.ht/~sircmpwn/aerc/commands/terminal" "git.sr.ht/~sircmpwn/aerc/config" "git.sr.ht/~sircmpwn/aerc/lib" + "git.sr.ht/~sircmpwn/aerc/lib/templates" libui "git.sr.ht/~sircmpwn/aerc/lib/ui" "git.sr.ht/~sircmpwn/aerc/widgets" ) @@ -179,6 +180,9 @@ func main() { as.OnMailto = aerc.Mailto } + // set the aerc version so that we can use it in the template funcs + templates.SetVersion(Version) + close(initDone) for !ui.ShouldExit() { |