aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2023-07-22 22:17:32 -0230
committerSam Anthony <sam@samanthony.xyz>2023-07-22 22:17:32 -0230
commita1e02a94f69f06af62af137212da1534c460c756 (patch)
tree5d39f503c235ad40d1b86e5cf76fb4970d9e889a /main.go
parent4e17a27eb8d36868bcf7e1edf32affd84412a1f4 (diff)
downloadpfc-a1e02a94f69f06af62af137212da1534c460c756.zip
ui skeleton
Diffstat (limited to 'main.go')
-rw-r--r--main.go24
1 files changed, 24 insertions, 0 deletions
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)
+ }
+}