diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/buffer/select.nim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/buffer/select.nim b/src/buffer/select.nim index 1b1993c5..f7afa4d9 100644 --- a/src/buffer/select.nim +++ b/src/buffer/select.nim @@ -195,9 +195,7 @@ proc pushCursorPos*(select: var Select) = select.bpos.add(select.hover) proc popCursorPos*(select: var Select, nojump = false) = - let was = select.hover - let got = select.bpos.pop() - select.hover = got + select.hover = select.bpos.pop() if not nojump: select.redraw = true |