fix(cli): show notifications in ctrl+p

This commit is contained in:
Alex Alecu
2026-03-18 15:17:54 +02:00
parent 70d2906149
commit 98dc60c368
2 changed files with 9 additions and 9 deletions
@@ -645,6 +645,15 @@ function App() {
dialog.clear()
},
},
{
title: kv.get("bell_enabled", true) ? "Disable notifications" : "Enable notifications",
value: "app.toggle.notifications",
category: "System",
onSelect: (dialog) => {
kv.set("bell_enabled", !kv.get("bell_enabled", true))
dialog.clear()
},
},
{
title: kv.get("animations_enabled", true) ? "Disable animations" : "Enable animations",
value: "app.toggle.animations",
@@ -679,15 +679,6 @@ export function Session() {
dialog.clear()
},
},
{
title: bellEnabled() ? "Disable notifications" : "Enable notifications",
value: "session.toggle.bell",
category: "Session",
onSelect: (dialog) => {
setBellEnabled((prev) => !prev)
dialog.clear()
},
},
{
title: "Page up",
value: "session.page.up",