mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Update yazi-plugin/preset/components/header.lua
Co-authored-by: 三咲雅 · Misaki Masa <sxyazi@gmail.com>
This commit is contained in:
parent
f789ddeb0e
commit
a1a4ec31de
1 changed files with 2 additions and 2 deletions
|
|
@ -70,8 +70,8 @@ end
|
|||
function Header:render(area)
|
||||
local chunks = self:layout(area)
|
||||
|
||||
local left = ui.Line({ self:cwd() })
|
||||
local right = ui.Line({ self:selected_count(), self:tabs() })
|
||||
local left = ui.Line { self:cwd() }
|
||||
local right = ui.Line { self:counter(), self:tabs() }
|
||||
return {
|
||||
ui.Paragraph(chunks[1], { left }),
|
||||
ui.Paragraph(chunks[2], { right }):align(ui.Paragraph.RIGHT),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue