[BUG] Pressing left arrow ends up changing display state to Agent mode and therefore TUI mode

Status Open
Reported on v2.1.219
Maintainer reply None cached
Activity 1 comment · opened Jul 24, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Pressing left arrow from the main terminal prompt changes Claude Code to Agent mode, and that destroys any active workflow I have running. It also changes the UI state to TUI mode, which I can't get out of by pressing right arrow.

Please fix.

What Should Happen?

It shouldn't change to TUI mode, and it shouldn't kill any running workflows.

Error Messages/Logs

Steps to Reproduce

Press left arrow on the prompt. It will go into agents mode, and that permanently changes the UI to TUI mode. And if you have a workflow running, it kills it.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.219

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗