From 7c174cc0ae1e07876218868e5e0917308201c081 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Thu, 26 Jun 2025 20:10:55 +0800 Subject: [PATCH] feat: compat https://github.com/sxyazi/yazi/pull/2921 --- chmod.yazi/main.lua | 3 ++- smart-filter.yazi/main.lua | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/chmod.yazi/main.lua b/chmod.yazi/main.lua index b05f05a..a50a864 100644 --- a/chmod.yazi/main.lua +++ b/chmod.yazi/main.lua @@ -22,7 +22,8 @@ return { local value, event = ya.input { title = "Chmod:", - position = { "top-center", y = 3, w = 40 }, + pos = { "top-center", y = 3, w = 40 }, + position = { "top-center", y = 3, w = 40 }, -- TODO: remove } if event ~= 1 then return diff --git a/smart-filter.yazi/main.lua b/smart-filter.yazi/main.lua index 490a9dd..f8fd2d9 100644 --- a/smart-filter.yazi/main.lua +++ b/smart-filter.yazi/main.lua @@ -16,7 +16,8 @@ end) local function prompt() return ya.input { title = "Smart filter:", - position = { "center", w = 50 }, + pos = { "center", w = 50 }, + position = { "center", w = 50 }, -- TODO: remove realtime = true, debounce = 0.1, }