aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
blob: 0a84c8f96a627d9ce418a1e90cea554914f6baef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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)
	}
}