fix(tui): add visual feedback for diff wrap and conceal toggles (#10655)
This commit is contained in:
@@ -503,7 +503,7 @@ export function Session() {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Toggle code concealment",
|
title: conceal() ? "Disable code concealment" : "Enable code concealment",
|
||||||
value: "session.toggle.conceal",
|
value: "session.toggle.conceal",
|
||||||
keybind: "messages_toggle_conceal" as any,
|
keybind: "messages_toggle_conceal" as any,
|
||||||
category: "Session",
|
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",
|
value: "session.toggle.diffwrap",
|
||||||
category: "Session",
|
category: "Session",
|
||||||
slash: {
|
slash: {
|
||||||
|
|||||||
Reference in New Issue
Block a user