nerdy computer stuff

I've long known that certain ASCII control sequences could be mimicked by holding control and pressing a key, e.g.: backspace is CTRL-H, newline is CTRL-J, but I was today years old when I learned that the ASCII control code is just the ASCII value of the key being pressed along with control bitwise and-ed with 0x1f.

It feels weird that I hadn't caught onto this sooner.

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.