[BUG] Chat Not Retaining the fedora Linux

Open 💬 1 comment Opened Jun 15, 2026 by hrushikeshbatwe

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?

when I m using claude code in the terminal cli , if the terminal is closed unexpected the chat is gone completely

What Should Happen?

chat wont be saved

Error Messages/Logs

Steps to Reproduce

start a new chat
send message
close the terminal or turn off the PC
without doing /exit or ctr+c
chat wont be present
on fedoro linux workstation

Claude Model

Not sure / Multiple models

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.177 (Claude Code)

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Terminal.app (macOS)

Additional Information

can be recreated by starting a chat closing the terminal without using /exit or ctr+c
this issue wasnt on the windows but on linux its there

View original on GitHub ↗

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