aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cursors.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/cursors.lua b/cursors.lua
index 3bf1e17..90bddcf 100644
--- a/cursors.lua
+++ b/cursors.lua
@@ -7,7 +7,7 @@ function set_cursor_pos(win)
local pos = cursors[win.file.path]
if pos == nil then return end
win.cursor.pos = tonumber(pos)
- vis:feedkeys("<window-redraw-center>")
+ vis:feedkeys("zz")
end
function file_exists(path)