Browse Source

fix: make timestamp toggle text dynamic in command list (resolves #5106) (#5108)

Ariane Emory 2 months ago
parent
commit
429aa24275
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/opencode/src/cli/cmd/tui/routes/session/index.tsx

+ 1 - 1
packages/opencode/src/cli/cmd/tui/routes/session/index.tsx

@@ -449,7 +449,7 @@ export function Session() {
       },
     },
     {
-      title: "Toggle timestamps",
+      title: showTimestamps() ? "Hide timestamps" : "Show timestamps",
       value: "session.toggle.timestamps",
       category: "Session",
       onSelect: (dialog) => {