mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-01 11:13:24 +00:00
fix(readline): dont reduce pos if its at 0
This commit is contained in:
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…
x
Reference in New Issue
Block a user