mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix(tui): width issue with revert block
This commit is contained in:
parent
94520ca502
commit
88d273834b
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue