From 140e1c494d4fb340c73144656f270e4a4d363698 Mon Sep 17 00:00:00 2001 From: bptato Date: Thu, 21 Dec 2023 17:58:42 +0100 Subject: container: fix gotoMarkY Now it actually does what it was supposed to do. Also, clarify what it does in config.md --- src/local/container.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/local') 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 -- cgit 1.4.1-2-gfad0