pull/328/merge
sammyette 2024-11-04 10:30:06 -07:00 committed by GitHub
commit 9f9806e007
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -707,6 +707,11 @@ func (rl *Instance) escapeSeq(r []rune) {
rl.renderHelpers()
return
}
if len(rl.hintText) != 0 {
// fill in hint text
rl.insert(rl.hintText)
}
if (rl.modeViMode == VimInsert && rl.pos < len(rl.line)) ||
(rl.modeViMode != VimInsert && rl.pos < len(rl.line)-1) {
rl.moveCursorByAdjust(1)