feat: remove ModePicker overlay and related commands; update mode handling and documentation

This commit is contained in:
asepharyana
2026-07-12 02:14:40 +07:00
parent 662e269f2c
commit 32155f8ea8
9 changed files with 3 additions and 110 deletions
+1 -1
View File
@@ -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,