From 1eb637cbf5101c13b5b271a32670e3aa56b12989 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 6 Nov 2024 16:02:11 -0600 Subject: attempt to keep the ncurses gui Signed-off-by: Jeff Carr --- main.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index 921a787..f7bc634 100644 --- a/main.go +++ b/main.go @@ -2,6 +2,7 @@ package main import ( + "embed" "os" "path/filepath" @@ -20,6 +21,9 @@ var cBox *controlBox // this is a basic window. the user can open and close it var basicWindow *gadgets.BasicWindow +//go:embed resources/* +var resources embed.FS + func main() { if argv.Repo == "" { log.Info("You need to tell me what repo you want to work on") @@ -28,6 +32,7 @@ func main() { os.Exit(0) } myGui = gui.New() + myGui.InitEmbed(resources) myGui.Default() basicWindow = makebasicWindow() -- cgit v1.2.3