diff options
Diffstat (limited to 'ui.go')
| -rw-r--r-- | ui.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ func (ui UI) Update(msg tea.Msg) (tea.Model, tea.Cmd) { } case "enter": if fn := parseFunction(ui.calc.buf); fn != nil { - fn(ui.calc) + fn(&ui.calc) } else if v, err := ui.calc.parseBuffer(); err == nil { ui.calc.stack.push(v) } |