The open source coding agent.
TypeScript
tui: add visual separator between username and timestamp for better readability
Dax Raaddd0945b9ca9a
diff --git a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsxindex 4b1deea29b3..4d1b50ccfb2 100644--- a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx+++ b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx@@ -1065,11 +1065,12 @@ function UserMessage(props: {</box></Show><text fg={theme.textMuted}>- {ctx.usernameVisible() ? `${sync.data.config.username ?? "You"} ` : "You"}{" "}+ {ctx.usernameVisible() ? `${sync.data.config.username ?? "You"}` : "You"}<Showwhen={queued()}fallback={<span style={{ fg: theme.textMuted }}>+ {ctx.usernameVisible() ? " · " : " "}{ctx.showTimestamps()? Locale.todayTimeOrDateTime(props.message.time.created): Locale.time(props.message.time.created)}