fix(tui): width issue with revert block

This commit is contained in:
adamdotdevin 2025-07-23 06:37:37 -05:00
parent 94520ca502
commit 88d273834b
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75

View file

@ -557,6 +557,10 @@ func (m *messagesComponent) renderView() tea.Cmd {
hint += revertedStyle.Render(" (or /redo) to restore")
content += "\n" + hint
content = styles.NewStyle().
Background(t.BackgroundPanel()).
Width(width - 6).
Render(content)
content = renderContentBlock(
m.app,
content,