fix(tui): add visual feedback for diff wrap and conceal toggles (#10655)

This commit is contained in:
Idris Gadi 2026-01-26 18:04:09 +05:30 committed by GitHub
parent c4f1087e58
commit 444934a4c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: {