fixed color bug

This commit is contained in:
2024-10-03 13:10:43 +02:00
parent 8165e80b05
commit 3ceaa13b3f
2 changed files with 57 additions and 42 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ func (m *MenuComponent) Render() string {
if !m.Data.IsActive {
cursor = m.Style.CursorInactive
}
d, _ := osui.CompressString(m.Style.Cursor, "")
d, _ := osui.CompressString(m.Style.Cursor)
empty := strings.Repeat(" ", len(d))
for i, item := range m.Items {