diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-09 20:04:44 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-09 20:04:44 +0200 |
| commit | 65055c7687bc1ddd4e44dd146821b0e622eb5675 (patch) | |
| tree | c56fab859942ee9c01438f219fe6bca913c16970 /internal/tui/components/core | |
| parent | 2af1bbb82852ebebb59ef431e5362c0f3993e5a0 (diff) | |
| download | opencode-65055c7687bc1ddd4e44dd146821b0e622eb5675.tar.gz opencode-65055c7687bc1ddd4e44dd146821b0e622eb5675.zip | |
minor fixes
Diffstat (limited to 'internal/tui/components/core')
| -rw-r--r-- | internal/tui/components/core/status.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/tui/components/core/status.go b/internal/tui/components/core/status.go index d2f14ad00..d67bdb7a6 100644 --- a/internal/tui/components/core/status.go +++ b/internal/tui/components/core/status.go @@ -68,7 +68,7 @@ func (m statusCmp) View() string { } // Truncate message if it's longer than available width msg := m.info.Msg - availWidth := m.availableFooterMsgWidth() - 3 // Account for ellipsis + availWidth := m.availableFooterMsgWidth() - 10 if len(msg) > availWidth && availWidth > 0 { msg = msg[:availWidth] + "..." } |
