I believe it’s to do with supporting shift+enter (to do multiline prompts).
https://github.com/anthropics/claude-code/issues/1259#issuec...