logoalt Hacker News

ErroneousBoshyesterday at 6:35 PM1 replyview on HN

What does shift-enter do for you?


Replies

skydhashyesterday at 7:09 PM

Maybe some keybind in a software. Another mentions Claude code, so it may be used to enter new line where enter is bound to send the prompt.

Terminal programs don’t see key events. It’s all text. I just checked st (suckless) code and the RETURN key will send “\r” aka carriage return. Control+j is “\n” or line feed.