mirror of https://github.com/Hilbis/Hilbish
fix(readline): dont reduce pos if its at 0
parent
feb2ea18fb
commit
91222f9d74
|
@ -214,7 +214,7 @@ func (rl *Instance) Readline() (string, error) {
|
|||
if rl.InputMode == Vim {
|
||||
if rl.modeViMode == VimInsert {
|
||||
rl.backspace()
|
||||
} else {
|
||||
} else if rl.pos != 0 {
|
||||
rl.pos--
|
||||
}
|
||||
rl.renderHelpers()
|
||||
|
|
Loading…
Reference in New Issue