[BUG] Unable to Trigger '@' File Reference Citation When Recalling History Commands with Up Arrow in Claude Code CLI

Resolved 💬 3 comments Opened Jan 26, 2026 by kidoln Closed Jan 29, 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?

In Claude Code CLI, when I use the up arrow to recall previously entered commands, I am unable to trigger file reference citations using '@'.

$ claude --version
2.1.19 (Claude Code)

What Should Happen?

Trigger file reference as well.

Error Messages/Logs

Steps to Reproduce

  1. press up arrow, recall one history message.
  2. At the end of message, press @ and file prefix
  3. unable to see the reference list.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.19

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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