diff options
| author | kavin <[email protected]> | 2025-11-29 13:22:20 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-29 14:22:20 -0600 |
| commit | 1854d85ccca9887068b641b16c296a43b98e6f7c (patch) | |
| tree | 3ecd32878643aa3b90fbc2aa7706a4956e088116 | |
| parent | 2c4d1fb8b44b1a421aef59f5f6bdb446965d6b44 (diff) | |
| download | opencode-1854d85ccca9887068b641b16c296a43b98e6f7c.tar.gz opencode-1854d85ccca9887068b641b16c296a43b98e6f7c.zip | |
fix(tui): add missing fg color to permission keybind hints (#4899)
Co-authored-by: Github Action <[email protected]>
| -rw-r--r-- | flake.lock | 6 | ||||
| -rw-r--r-- | packages/opencode/src/cli/cmd/tui/routes/session/index.tsx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/flake.lock b/flake.lock index 33aae3812..f35c345f0 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1764290847, - "narHash": "sha256-VwPgoDgnd628GdE3KyLqTyPF1WWh0VwT5UoKygoi8sg=", + "lastModified": 1764384123, + "narHash": "sha256-UoliURDJFaOolycBZYrjzd9Cc66zULEyHqGFH3QHEq0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "cd5fedfc384cb98d9fd3827b55f4522f49efda42", + "rev": "59b6c96beacc898566c9be1052ae806f3835f87d", "type": "github" }, "original": { 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 b6e363c86..1540d8bac 100644 --- a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx +++ b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx @@ -1201,15 +1201,15 @@ function ToolPart(props: { last: boolean; part: ToolPart; message: AssistantMess <box gap={1}> <text fg={theme.text}>Permission required to run this tool:</text> <box flexDirection="row" gap={2}> - <text> + <text fg={theme.text}> <b>enter</b> <span style={{ fg: theme.textMuted }}> accept</span> </text> - <text> + <text fg={theme.text}> <b>a</b> <span style={{ fg: theme.textMuted }}> accept always</span> </text> - <text> + <text fg={theme.text}> <b>d</b> <span style={{ fg: theme.textMuted }}> deny</span> </text> |
