feat: compat https://github.com/sxyazi/yazi/pull/2921
This commit is contained in:
@@ -22,7 +22,8 @@ return {
|
|||||||
|
|
||||||
local value, event = ya.input {
|
local value, event = ya.input {
|
||||||
title = "Chmod:",
|
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
|
if event ~= 1 then
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -16,7 +16,8 @@ end)
|
|||||||
local function prompt()
|
local function prompt()
|
||||||
return ya.input {
|
return ya.input {
|
||||||
title = "Smart filter:",
|
title = "Smart filter:",
|
||||||
position = { "center", w = 50 },
|
pos = { "center", w = 50 },
|
||||||
|
position = { "center", w = 50 }, -- TODO: remove
|
||||||
realtime = true,
|
realtime = true,
|
||||||
debounce = 0.1,
|
debounce = 0.1,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user