about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/local/container.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/container.nim b/src/local/container.nim
index 74011a53..ea1f5173 100644
--- a/src/local/container.nim
+++ b/src/local/container.nim
@@ -964,7 +964,7 @@ proc gotoMarkY*(container: Container, id: string): bool {.jsfunc.} =
   let mark = container.getMarkPos(id)
   if mark.isSome:
     let mark = mark.get
-    container.setCursorXYCenter(mark.x, mark.y)
+    container.setCursorXYCenter(0, mark.y)
     container.markPos()
     return true
   return false