fix(autocomplete newline): autocomplete newline

This commit is contained in:
shaohk 2022-06-23 21:38:49 +08:00
parent 8e4bd417b9
commit 8007b9b0a3
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ func (o *opCompleter) CompleteRefresh() {
o.candidateColNum = colNum o.candidateColNum = colNum
buf := bufio.NewWriter(o.w) buf := bufio.NewWriter(o.w)
buf.Write(bytes.Repeat([]byte("\n"), lineCnt)) buf.Write(bytes.Repeat([]byte("\n\r"), lineCnt))
colIdx := 0 colIdx := 0
lines := 1 lines := 1