You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
❤️
Spread Love
Deepak Sharma
deepak1725
❤️
Spread Love
I work on Kubernetes/Openshift. I have proficiency in Python.
I ❤️ building Distributed Systems.
In older keyboards, enter and return are 2 different keys. Old Macintosh keyboards set it up so that the Return sends a carriage return \r, while the Enter key sends a linefeed \n. However many computers nowadays do not have separate Return and Enter keys. So what do these keyboards send? While it actually depends on your operating system, its keyboard settings, and the application you're interacting with. Windows applications will generally interpret \r\n as a newline, while Mac OS 9 and earlier interpreted \r as a newline, and finally Unix with Mac OS X and later will interpret \n as a newline. People involved in the technology space will generally use the convention of \n as the newline, with \r as an artifact of computing history.
A similar situation occurs with the Backspace and Del keys. Modern convention has settled on the behaviour wher