2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-21 04:53:24 +00:00

Merge a59394ec2be1b936b4fd4ffd45f8b4f2b8c8c84a into ac7c97442e89cc9247a0f43adf8b983e32d01f0c

This commit is contained in:
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

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)