Skip to content

Commit

Permalink
Fix newtext compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
LostbBlizzard committed Aug 10, 2024
1 parent 0749981 commit 2ae3d98
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/HelpStatus.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,21 @@ func (status *HelpStatus) UpdateText(binds []keymap.Bind) {

for i, key := range binds {

newText += key.Cmd.String()
newtext += key.Cmd.String()

newText += ": "
newtext += ": "

newText += key.Key.String()
newtext += key.Key.String()

islast := i == len(binds)-1

if !islast {
newText += " | "
newtext += " | "
}

}

status.SetText(newText)
status.SetText(newtext)
}

func (status *HelpStatus) SetStatusOnTree() {
Expand Down

0 comments on commit 2ae3d98

Please sign in to comment.