mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-21 14:07:20 +08:00
fix(cli): show notifications in ctrl+p
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user