diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2023-07-28 20:52:03 -0230 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2023-07-28 20:52:03 -0230 |
| commit | 9dae90cfdc1a4cb5f42e9a533a2277a3904b629f (patch) | |
| tree | 2dbc7ccedd6567c8e1c03479056cdfb0073e1a58 /ui.go | |
| parent | 3516ab494570f077df967bfe1222acc0dfcdf5da (diff) | |
| download | pfc-9dae90cfdc1a4cb5f42e9a533a2277a3904b629f.zip | |
exponentiation operator
Diffstat (limited to 'ui.go')
| -rw-r--r-- | ui.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ func (ui UI) Update(msg tea.Msg) (tea.Model, tea.Cmd) { switch msg.String() { case "ctrl+c", "Q": return ui, tea.Quit - case "+", "-", "*", "/", "%": + case "+", "-", "*", "/", "%", "^": if err := ui.calc.performOp(msg.String()[0]); err != nil { panic(err) } |