logoalt Hacker News

dotancohen • yesterday at 10:11 AM • 2 replies • view on HN

Another surprise was discovering that Ctrl-J adds a newline in Claude Code. I'm fairly certain this is a feature of the environment, not CC, but it works everywhere I've tried it. KDE Konsole on Debian.


Replies

1718627440 • yesterday at 5:55 PM

That's because C-J IS ANSI Carriage Return. It's basically the absence of any special treatment.

➕ show 2 replies