We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2fae15 commit 5b2dd41Copy full SHA for 5b2dd41
yazi-plugin/preset/components/status.lua
@@ -7,7 +7,7 @@ Status = {
7
_inc = 1000,
8
_left = {
9
{ "mode", id = 1, order = 1000 },
10
- { "size", id = 2, order = 2000 },
+ { "length", id = 2, order = 2000 },
11
{ "name", id = 3, order = 3000 },
12
},
13
_right = {
@@ -47,9 +47,9 @@ function Status:mode()
47
}
48
end
49
50
-function Status:size()
+function Status:length()
51
local h = self._current.hovered
52
- local size = h and (h:size() or h.cha.len) or 0
+ local size = h and h.cha.len or 0
53
54
local style = self:style()
55
return ui.Line {
0 commit comments