mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-04 16:13:11 +00:00
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",
|
||||
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: {
|
||||
|
||||
Reference in New Issue
Block a user