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 19, 2023
1 parent 520a551 commit b7c2d38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/cli/editor.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ func (ed *Editor) EditRequest(keyStream <-chan keyboard.KeyEvent, initBuffer str
if ed.pos < len(ed.buffer) {
fmt.Print(string(ed.buffer[ed.pos:]))
}

fmt.Print("\n")

stringBuffer := string(ed.buffer)
requet := strings.TrimSpace(stringBuffer)

Expand Down Expand Up @@ -187,6 +189,7 @@ func (ed *Editor) InsertSymbol(symbol rune) {

ed.buffer = buffer
ed.pos++

fmt.Print(string(symbol) + endOfStr)
}

Expand Down

0 comments on commit b7c2d38

Please sign in to comment.