From a1e02a94f69f06af62af137212da1534c460c756 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 22 Jul 2023 22:17:32 -0230 Subject: ui skeleton --- main.go | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 main.go (limited to 'main.go') diff --git a/main.go b/main.go new file mode 100644 index 0000000..0a84c8f --- /dev/null +++ b/main.go @@ -0,0 +1,24 @@ +package main + +import ( + "fmt" + "os" + + "github.com/charmbracelet/bubbletea" +) + +// Types + +type Calculator struct { + stack []float64 + buffer string +} + +// Function Definitions + +func main() { + if _, err := tea.NewProgram(new(UI)).Run(); err != nil { + fmt.Fprintf(os.Stderr, "%v", err) + os.Exit(1) + } +} -- cgit v1.2.3