Hacker News new | ask | show | jobs
by exabrial 1975 days ago
Ok what on earth is going on there... It's launching a shell but I'm not sure what the stty does
1 comments

The commandline buffers input by default, because it starts in "cooked" mode.

That line turns off buffering so that keypresses can immediately be read, by putting it into "raw" mode.

excellent! thank you