2
2
spegling av https://github.com/Hilbis/Hilbish synced 2025-07-15 15:22:03 +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
förälder e5b6a2586b
incheckning 5e505d0a8d
Signerad av: sammyette
GPG-nyckel ID: 904FC49417B44DCD

Visa fil

@ -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()