mirror of https://github.com/chzyer/readline.git
[complete] remove debug
This commit is contained in:
parent
9d26a3bde6
commit
e950f01ab4
|
@ -1,10 +1,6 @@
|
||||||
package readline
|
package readline
|
||||||
|
|
||||||
import (
|
import "github.com/chzyer/readline/runes"
|
||||||
"strconv"
|
|
||||||
|
|
||||||
"github.com/chzyer/readline/runes"
|
|
||||||
)
|
|
||||||
|
|
||||||
type SegmentCompleter interface {
|
type SegmentCompleter interface {
|
||||||
// a
|
// a
|
||||||
|
@ -75,6 +71,5 @@ func (c *SegmentComplete) Do(line []rune, pos int) (newLine [][]rune, offset int
|
||||||
|
|
||||||
cands := c.DoSegment(segment, idx)
|
cands := c.DoSegment(segment, idx)
|
||||||
newLine, offset = RetSegment(segment, cands, idx)
|
newLine, offset = RetSegment(segment, cands, idx)
|
||||||
Debug(strconv.Quote(string(line)), cands)
|
|
||||||
return newLine, offset
|
return newLine, offset
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue