Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's because the author set the css property `user-select` to `none`.

Why? I'm not sure, but that has nothing to do with any of the libraries listed, or even javascript at all.



I assume it is because you can click on the commands to cycle through the examples. If you didn't have this css property set you would end up selecting text.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: