diff options
| author | adamdottv <[email protected]> | 2025-05-13 13:08:43 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-05-13 13:08:43 -0500 |
| commit | 01b6bf5bb7307246cb2cca7f1cbc8aba693941cc (patch) | |
| tree | f47f5aa2b323ce8fea55f6999308486ff790d26e /internal/tui | |
| parent | d8f3b606258a5655d73acc94d6cb37b421350817 (diff) | |
| download | opencode-01b6bf5bb7307246cb2cca7f1cbc8aba693941cc.tar.gz opencode-01b6bf5bb7307246cb2cca7f1cbc8aba693941cc.zip | |
chore: refactor db
Diffstat (limited to 'internal/tui')
| -rw-r--r-- | internal/tui/components/chat/message.go | 2 | ||||
| -rw-r--r-- | internal/tui/components/logs/table.go | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/internal/tui/components/chat/message.go b/internal/tui/components/chat/message.go index e7a6f7237..9c7ac2aa1 100644 --- a/internal/tui/components/chat/message.go +++ b/internal/tui/components/chat/message.go @@ -605,7 +605,7 @@ func renderToolMessage( return toolMsg } - params := renderToolParams(width-2-lipgloss.Width(toolNameText), toolCall) + params := renderToolParams(width-1-lipgloss.Width(toolNameText), toolCall) responseContent := "" if response != nil { responseContent = renderToolResponse(toolCall, *response, width-2) diff --git a/internal/tui/components/logs/table.go b/internal/tui/components/logs/table.go index dbfc9c9f9..f78e4c490 100644 --- a/internal/tui/components/logs/table.go +++ b/internal/tui/components/logs/table.go @@ -159,8 +159,7 @@ func (i *tableCmp) updateRows() { rows := make([]table.Row, 0, len(i.logs)) for _, log := range i.logs { - // Format timestamp as time - timeStr := log.Timestamp.Format("15:04:05") + timeStr := log.Timestamp.Local().Format("15:04:05") // Include ID as hidden first column for selection row := table.Row{ |
