additional tools

This commit is contained in:
Kujtim Hoxha
2025-03-26 01:12:30 +01:00
parent 005b8ac167
commit 904061c243
33 changed files with 3258 additions and 236 deletions
+4 -1
View File
@@ -64,7 +64,10 @@ func (s *singlePaneLayout) View() string {
if bordered, ok := s.content.(Bordered); ok {
s.borderText = bordered.BorderText()
}
return Borderize(content, s.focused, s.borderText, s.activeColor)
return Borderize(content, BorderOptions{
Active: s.focused,
EmbeddedText: s.borderText,
})
}
return content
}