Gate tui /plugins menu behind flag (#15285)

Gate /plugins menu behind `--enable plugins` flag
This commit is contained in:
canvrno-oai
2026-03-20 15:49:04 -07:00
committed by GitHub
parent 3431f01776
commit 10a936d127
10 changed files with 66 additions and 0 deletions

View File

@@ -266,6 +266,11 @@ impl BottomPane {
self.request_redraw();
}
pub fn set_plugins_command_enabled(&mut self, enabled: bool) {
self.composer.set_plugins_command_enabled(enabled);
self.request_redraw();
}
pub fn take_mention_bindings(&mut self) -> Vec<MentionBinding> {
self.composer.take_mention_bindings()
}