logoalt Hacker News

1718627440 • yesterday at 5:55 PM • 2 replies • view on HN

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


Replies

duskwuff • yesterday at 10:11 PM

In fact, without some fairly new (and poorly supported) extensions, it's impossible for an application running in a terminal to distinguish between ^J and a "real" press of the return key. The same goes for tab vs. ^I, Esc vs. ^[, and so on.

JdeBP • yesterday at 8:34 PM

You meant ASCII Line Feed, ne?

➕ show 1 reply