[Bug] Command history bleeding across simultaneous Claude Code sessions

Status Open
Reported on v2.1.272
Maintainer reply None cached
Activity 0 comments · opened Sep 16, 2026

Bug Description
I'm running two Claude Code session simultaneously and the arrow-up history is bleeding across those two sessions. If you compare this to how shells work, you only get the history of other sessions when you load up a new shell. It's quite confusion and if this was meant to be a feature, I would like a setting to turn it off. Thanks!

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.272
  • Feedback ID: 9ffbd320-9fa5-4ffe-aebe-bf2bd4fdeda1

This looks related to https://github.com/anthropics/claude-code/issues/23276, which was dropped due to inactivity. Please take another look, thank you.

Errors

[]

View original on GitHub ↗