Skip to content

Commit

Permalink
style(status): add a space before mode
Browse files Browse the repository at this point in the history
  • Loading branch information
idursun committed Mar 7, 2025
1 parent 142e07e commit b402ecf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/ui/status/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ func (m *Model) View() string {
s = m.help.View(o)
}
}
ret := common.DefaultPalette.StatusNormal.Width(m.width - 2).SetString(m.command).Render()
mode := common.DefaultPalette.StatusMode.Width(10).Render(m.op.Name())
ret := common.DefaultPalette.StatusNormal.Render(m.command)
mode := common.DefaultPalette.StatusMode.Width(10).Render("", m.op.Name())
ret = lipgloss.JoinHorizontal(lipgloss.Left, mode, " ", s, ret)
if m.error != nil {
ret += " " + common.DefaultPalette.StatusError.Render(fmt.Sprintf("\n%v\n%s", m.error, m.output))
Expand Down

0 comments on commit b402ecf

Please sign in to comment.