[FEATURE] Leave Claude with single Ctrl+D

Open 💬 14 comments Opened Dec 15, 2025 by andreas-gruenbacher

Problem Statement

Right now, the Claude command line can be exited by pressing Ctrl+D twice in quick succession. (After the first Ctrl+D, Claude says "Press Ctrl-D again to exit".) This is rather annoying, and it isn't how other similar utilities work. If you get the timing slightly wrong, you can accidentally end up exiting the parent shell as well. A single Ctrl+D should be enough.

Proposed Solution

Can double Ctrl+D either be removed or made configurable?

Claude itself suggests to run "claude config set confirm_exit false" to disable double Ctrl+D, but this config option doesn't seem to exist.

Priority

Low - Nice to have

Feature Category

CLI commands and flags

Use Case Example

I'm always exiting Claude with Ctrl+D like I do with all other shells and shell-like utilities like bash, gdb, python. It's a very normal thing for command line users.

View original on GitHub ↗

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