2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-21 13:03:22 +00:00

Merge a59394ec2be1b936b4fd4ffd45f8b4f2b8c8c84a into 36ce05e85a862f12b206a4a336fba94834f7372c

This commit is contained in:
sammyette 2024-11-30 15:00:47 -03:00 committed by GitHub
commit ab08232a71
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() rl.renderHelpers()
return return
} }
if len(rl.hintText) != 0 {
// fill in hint text
rl.insert(rl.hintText)
}
if (rl.modeViMode == VimInsert && rl.pos < len(rl.line)) || if (rl.modeViMode == VimInsert && rl.pos < len(rl.line)) ||
(rl.modeViMode != VimInsert && rl.pos < len(rl.line)-1) { (rl.modeViMode != VimInsert && rl.pos < len(rl.line)-1) {
rl.moveCursorByAdjust(1) rl.moveCursorByAdjust(1)