mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-29 05:34:19 +01:00
chore: refactor db
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user