mirror of
https://github.com/openai/codex.git
synced 2026-05-04 21:32:21 +03:00
Gate tui /plugins menu behind flag (#15285)
Gate /plugins menu behind `--enable plugins` flag
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user