From e2dc5c831400bb42c97dd94b01f09d3fe1ce612f Mon Sep 17 00:00:00 2001
From: Cheney <me@chenye.org>
Date: Sat, 26 Sep 2015 10:34:29 +0800
Subject: [PATCH] fix backward in complete select mode

---
 complete.go | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/complete.go b/complete.go
index 8985b35..ed2f6df 100644
--- a/complete.go
+++ b/complete.go
@@ -134,9 +134,7 @@ func (o *opCompleter) HandleCompleteSelect(r rune) bool {
 		}
 		o.candicateChoise = tmpChoise
 	case CharBackward:
-		if o.op.buf.Len() > 0 {
-			o.nextCandicate(-1)
-		}
+		o.nextCandicate(-1)
 	case CharPrev:
 		tmpChoise := o.candicateChoise - o.candicateColNum
 		if tmpChoise < 0 {