2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-01 11:13:24 +00:00

fix: increate pos by 1 at paste instead of 2

This commit is contained in:
TorchedSammy 2022-03-13 16:40:58 -04:00
parent e5b6a2586b
commit 5e505d0a8d
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

@ -194,7 +194,7 @@ func (rl *Instance) vi(r rune) {
case 'p':
// paste after the cursor position
rl.viUndoSkipAppend = true
rl.pos += 2
rl.pos++
buffer := rl.pasteFromRegister()
vii := rl.getViIterations()