feat: remove ModePicker overlay and related commands; update mode handling and documentation
This commit is contained in:
@@ -44,7 +44,7 @@ pub fn parse_command(text: &str) -> Command {
|
||||
"/quit" => Command::Quit,
|
||||
"/clear" if arg1.is_empty() => Command::ClearConfirm,
|
||||
"/clear" => Command::Clear,
|
||||
"/mode" if arg1.is_empty() => Command::Help, // open help to show available modes
|
||||
"/mode" if arg1.is_empty() => Command::Unknown("/mode requires a subcommand: chat, bash, help, settings".to_string()),
|
||||
"/mode" => {
|
||||
let mode = match arg1 {
|
||||
"chat" | "c" => ModeKind::Chat,
|
||||
|
||||
Reference in New Issue
Block a user