Preserve slash commands with pending turns

This commit is contained in:
Charlie Marsh
2026-06-29 09:39:15 -04:00
parent 333e703772
commit f490e1a5a6
@@ -140,8 +140,9 @@ impl ChatWidget {
fn slash_command_blocked_by_active_task(&self, cmd: SlashCommand) -> bool {
let foreground_work_active = self.bottom_pane.is_foreground_task_running()
|| self.input_queue.user_turn_pending_start
|| self.has_queued_follow_up_messages();
|| (cmd == SlashCommand::Review
&& (self.input_queue.user_turn_pending_start
|| self.has_queued_follow_up_messages()));
let blocked_by_task = if foreground_work_active {
!cmd.available_during_task()
} else if self.bottom_pane.is_mcp_startup_running() {