feat: the status pane's logo turns to a line of text further down, or without room
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
5bbb3f42c9
commit
d9de14f926
3 files changed
+50
-20
No files matched your search
@@ -50,7 +50,7 @@ func (m *Model) syncFields() tea.Cmd {
|
||||
m.fields.Hide()
|
||||
return nil
|
||||
}
|
||||
m.fields.Header = nil
|
||||
m.fields.Header, m.fields.HeaderShort = nil, ""
|
||||
switch m.detailOf() {
|
||||
case paneSources:
|
||||
r, ok := m.sources.Selected()
|
||||
@@ -69,7 +69,7 @@ func (m *Model) syncFields() tea.Cmd {
|
||||
m.fields.Show("", nil)
|
||||
}
|
||||
case paneStatus:
|
||||
m.fields.Header = logo
|
||||
m.fields.Header, m.fields.HeaderShort = logo, strings.TrimSpace("lazysecrets "+m.versionLabel())
|
||||
m.fields.Show("lazysecrets", m.statusFields())
|
||||
case paneContainers:
|
||||
if c, ok := m.containers.Selected(); ok {
|
||||
|
||||
Reference in new issue
Block a user