From e950f01ab4112e2a1f660f9fd6ac56e447b5f5b3 Mon Sep 17 00:00:00 2001 From: chzyer <0@0xdf.com> Date: Sat, 2 Apr 2016 02:01:23 +0800 Subject: [PATCH] [complete] remove debug --- complete_segment.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/complete_segment.go b/complete_segment.go index cf0dc3d..7b3dacf 100644 --- a/complete_segment.go +++ b/complete_segment.go @@ -1,10 +1,6 @@ package readline -import ( - "strconv" - - "github.com/chzyer/readline/runes" -) +import "github.com/chzyer/readline/runes" type SegmentCompleter interface { // a @@ -75,6 +71,5 @@ func (c *SegmentComplete) Do(line []rune, pos int) (newLine [][]rune, offset int cands := c.DoSegment(segment, idx) newLine, offset = RetSegment(segment, cands, idx) - Debug(strconv.Quote(string(line)), cands) return newLine, offset }