[complete] remove debug

This commit is contained in:
chzyer 2016-04-02 02:01:23 +08:00
parent 9d26a3bde6
commit e950f01ab4
1 changed files with 1 additions and 6 deletions

View File

@ -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
} }