remove dead code

This commit is contained in:
pap
2025-07-27 22:42:45 +01:00
parent 778857ac14
commit 92f97f0641
4 changed files with 1 additions and 20 deletions

View File

@@ -6,6 +6,7 @@ use ratatui::text::Line;
use crate::slash_command::SlashCommand;
use crate::at_command::AtCommand;
#[derive(Debug)]
#[allow(clippy::large_enum_variant)]
pub(crate) enum AppEvent {
CodexEvent(Event),

View File

@@ -22,7 +22,6 @@ mod status_indicator_view;
pub(crate) use chat_composer::ChatComposer;
pub(crate) use chat_composer::InputResult;
pub(crate) use command_popup::CommandInfo;
use approval_modal_view::ApprovalModalView;
use status_indicator_view::StatusIndicatorView;

View File

@@ -1,18 +0,0 @@
use crate::slash_command::SlashCommand;
use crate::at_command::AtCommand;
use crate::bottom_pane::CommandInfo;
#[derive(Clone, Copy, Debug)]
pub enum Command {
Slash(SlashCommand),
At(AtCommand),
}
impl CommandInfo for Command {
fn command(&self) -> &'static str {
match self { Command::Slash(s) => s.command(), Command::At(a) => a.command() }
}
fn description(&self) -> &'static str {
match self { Command::Slash(s) => s.description(), Command::At(a) => a.description() }
}
}

View File

@@ -46,7 +46,6 @@ mod tui;
mod user_approval_widget;
mod clipboard_paste;
mod at_command;
mod command;
pub use cli::Cli;