[BUG] `claude --resume` session picker hangs indefinitely (tmux + Alacritty)

Resolved 💬 5 comments Opened Jan 31, 2026 by rajivpoddar Closed Mar 3, 2026

Description

Running claude --resume without a session ID hangs indefinitely. The interactive session picker never appears - the CLI just hangs with no output until Ctrl+C.

Environment

  • Claude Code version: 2.1.27
  • OS: macOS 14.6.1 (Build 23G93)
  • Terminal: Alacritty 0.16.1 + tmux 3.5a
  • TERM: tmux-256color
  • COLORTERM: truecolor

Steps to Reproduce

  1. Open Alacritty with tmux
  2. cd to a project directory with existing sessions
  3. Run claude --resume
  4. Observe: CLI hangs with no output, session picker never renders

Expected Behavior

Interactive session picker should appear allowing selection of a session to resume.

Actual Behavior

CLI hangs indefinitely with no output. Must Ctrl+C to exit.

Workarounds That Work

The following alternatives work correctly:

  • claude --continue - resumes most recent session without picker ✅
  • claude --resume <session-id> - resumes specific session without picker ✅

This suggests the issue is specifically with the interactive session picker TUI component, not with session loading or resume functionality itself.

Debug Information

Sessions index size: 4.2K
Number of sessions: 6

Session files are small (not the large tool output issue from #21067):

395K  04025bcf-5a31-4ac1-89c2-6eb5475a70c9.jsonl
2.3M  24a550d5-161e-4890-8ec2-909f43a84873.jsonl
409K  3b36bb68-f998-4dc9-b215-71af603dc5b1.jsonl
4.0K  48d0c442-a5c0-4c26-a4de-826fe3db7259.jsonl
469K  6089ecac-9146-4a81-8944-19d037ea4465.jsonl
203K  67778b99-109c-4f49-904b-b0621ba40f05.jsonl

Possibly Related Issues

  • #17787 - TUI input broken on macOS (DSR 6 cursor position responses leak)
  • #15694 - --fork-session flag ignored with TUI session picker
  • #19090 - Session resume freezes when searching by GUID

Note: tmux is the recommended workaround for #17787, yet the session picker still hangs inside tmux.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗