feat(tui): debug log panel toggle

This commit is contained in:
2025-10-18 03:18:34 +02:00
parent c49e7f4b22
commit 218ebbf32f
9 changed files with 499 additions and 5 deletions

View File

@@ -13,6 +13,7 @@ pub enum AppCommand {
FocusPanel(FocusedPanel),
ComposerSubmit,
EnterCommandMode,
ToggleDebugLog,
}
#[derive(Debug)]
@@ -65,6 +66,7 @@ impl CommandRegistry {
);
commands.insert("composer.submit".to_string(), AppCommand::ComposerSubmit);
commands.insert("mode.command".to_string(), AppCommand::EnterCommandMode);
commands.insert("debug.toggle".to_string(), AppCommand::ToggleDebugLog);
Self { commands }
}