mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
fix(tui): add visual feedback for diff wrap and conceal toggles (#10655)
This commit is contained in:
parent
c4f1087e58
commit
444934a4c1
1 changed files with 2 additions and 2 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue