mirror of https://github.com/chzyer/readline.git
fix backward in complete select mode
This commit is contained in:
parent
1ff4e718ab
commit
e2dc5c8314
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue