diff options
| author | Idris Gadi <[email protected]> | 2026-01-26 18:04:09 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-01-26 07:34:09 -0500 |
| commit | 444934a4c1ef4025a988860dac0acf127c36c909 (patch) | |
| tree | e95c495d1601c29f42965a78f5ac0715f47ac2c9 | |
| parent | c4f1087e58cd5a4cbc65f83785dceea366052739 (diff) | |
| download | opencode-444934a4c1ef4025a988860dac0acf127c36c909.tar.gz opencode-444934a4c1ef4025a988860dac0acf127c36c909.zip | |
fix(tui): add visual feedback for diff wrap and conceal toggles (#10655)
| -rw-r--r-- | packages/opencode/src/cli/cmd/tui/routes/session/index.tsx | 4 |
1 files changed, 2 insertions, 2 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 2a5a901a2..c73a52042 100644 --- a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx +++ b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx @@ -503,7 +503,7 @@ export function Session() { }, }, { - title: "Toggle code concealment", + title: conceal() ? "Disable code concealment" : "Enable code concealment", value: "session.toggle.conceal", keybind: "messages_toggle_conceal" as any, category: "Session", @@ -539,7 +539,7 @@ export function Session() { }, }, { - title: "Toggle diff wrapping", + title: diffWrapMode() === "word" ? "Disable diff wrapping" : "Enable diff wrapping", value: "session.toggle.diffwrap", category: "Session", slash: { |
