mirror of
https://github.com/openai/codex.git
synced 2026-05-04 21:32:21 +03:00
re-use command name instead of slashcommand as we removed at_command
This commit is contained in:
@@ -3,7 +3,7 @@ use codex_file_search::FileMatch;
|
||||
use crossterm::event::KeyEvent;
|
||||
use ratatui::text::Line;
|
||||
|
||||
use crate::slash_command::SlashCommand;
|
||||
use crate::slash_command::Command;
|
||||
|
||||
#[derive(Debug)]
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
@@ -33,7 +33,7 @@ pub(crate) enum AppEvent {
|
||||
|
||||
/// Dispatch a recognized slash command from the UI (composer) to the app
|
||||
/// layer so it can be handled centrally.
|
||||
DispatchSlashCommand(SlashCommand),
|
||||
DispatchCommand(Command),
|
||||
|
||||
/// Kick off an asynchronous file search for the given query (text after
|
||||
/// the `@`). Previous searches may be cancelled by the app layer so there
|
||||
|
||||
Reference in New Issue
Block a user