Hacker News new | past | comments | ask | show | jobs | submit login

Works fine in firefox. The backspace key doesn't work correctly, which is a fun throwback.



Hey, luajit is fun! It should be the only demo affected by the backspace issue (if it's not, please let us know). While all the other REPLs expect raw terminal input (with all the control characters, for example newline and backspace), luajit expects cooked - or line-edited - terminal input.

This means that we had to support keystroke echo and we had to remap ENTER to get the basic functionality, and that full line-editing support is needed to get complete functionality.


Oh, that's fun. You're right, I went straight for luajit and typed in some praise for Mike Pall. Everyone is weird..




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

Search: