summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-12-06 18:19:18 -0500
committerDax Raad <[email protected]>2025-12-06 18:19:18 -0500
commitdd0945b9ca9abddd6bd0961a1402862df26cf27c (patch)
tree36d67e18fd196cd84878d651569f10ea1d23e9ad
parent1b05d5dd8eb38bbd9cc0ca47483a15059e5d1110 (diff)
downloadopencode-dd0945b9ca9abddd6bd0961a1402862df26cf27c.tar.gz
opencode-dd0945b9ca9abddd6bd0961a1402862df26cf27c.zip
tui: add visual separator between username and timestamp for better readability
-rw-r--r--packages/opencode/src/cli/cmd/tui/routes/session/index.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx
index 4b1deea29..4d1b50ccf 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"}
<Show
when={queued()}
fallback={
<span style={{ fg: theme.textMuted }}>
+ {ctx.usernameVisible() ? " ยท " : " "}
{ctx.showTimestamps()
? Locale.todayTimeOrDateTime(props.message.time.created)
: Locale.time(props.message.time.created)}