Skip to content

Commit

Permalink
update to more texteditor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoreilly committed Jul 14, 2024
1 parent 9657835 commit 40ce3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terminal/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (a *App) Init() {
if kf == keymap.Enter && e.Modifiers() == 0 {
e.SetHandled()
txt := w.Buffer.String()
w.Buffer.SetTextString("")
w.Buffer.SetString("")

Check failure on line 89 in terminal/app.go

View workflow job for this annotation

GitHub Actions / build

w.Buffer.SetString undefined (type *texteditor.Buffer has no field or method SetString)
cmds := a.FindPath("splits/commands").(*core.Frame)
dir := a.FindPath("splits/editor-frame/dir").(*core.Text)
errors.Log(a.RunCmd(txt, cmds, dir))
Expand Down

0 comments on commit 40ce3fc

Please sign in to comment.