Skip to content

Commit

Permalink
Makes linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ksysoev committed Oct 17, 2023
1 parent 3ff569e commit fdae2ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cli/editor.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ func NewEditor(history *History) *Editor {

func (ed *Editor) EditRequest(keyStream <-chan keyboard.KeyEvent, initBuffer string) (string, error) {
historyIndex := 0

runeBuffer := []rune(initBuffer)

for e := range keyStream {
if e.Err != nil {
return "", e.Err
Expand Down

0 comments on commit fdae2ad

Please sign in to comment.