diff options
| author | Dax Raad <[email protected]> | 2025-12-06 18:19:18 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-12-06 18:19:18 -0500 |
| commit | dd0945b9ca9abddd6bd0961a1402862df26cf27c (patch) | |
| tree | 36d67e18fd196cd84878d651569f10ea1d23e9ad | |
| parent | 1b05d5dd8eb38bbd9cc0ca47483a15059e5d1110 (diff) | |
| download | opencode-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.tsx | 3 |
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)} |
