feat(tui): debug log panel toggle
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user