mirror of https://github.com/chzyer/readline.git
fix(autocomplete newline): autocomplete newline
This commit is contained in:
parent
8e4bd417b9
commit
8007b9b0a3
|
@ -209,7 +209,7 @@ func (o *opCompleter) CompleteRefresh() {
|
|||
|
||||
o.candidateColNum = colNum
|
||||
buf := bufio.NewWriter(o.w)
|
||||
buf.Write(bytes.Repeat([]byte("\n"), lineCnt))
|
||||
buf.Write(bytes.Repeat([]byte("\n\r"), lineCnt))
|
||||
|
||||
colIdx := 0
|
||||
lines := 1
|
||||
|
|
Loading…
Reference in New Issue