diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2023-07-22 22:17:32 -0230 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2023-07-22 22:17:32 -0230 |
| commit | a1e02a94f69f06af62af137212da1534c460c756 (patch) | |
| tree | 5d39f503c235ad40d1b86e5cf76fb4970d9e889a /main.go | |
| parent | 4e17a27eb8d36868bcf7e1edf32affd84412a1f4 (diff) | |
| download | pfc-a1e02a94f69f06af62af137212da1534c460c756.zip | |
ui skeleton
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -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) + } +} |