top | item 25846389 (no title) mukel | 5 years ago It's a Linux-only trick: https://github.com/kt97679/tetris/blob/52dfb3a703e4dd5b37990... discuss order hn newest exabrial|5 years ago Ok what on earth is going on there... It's launching a shell but I'm not sure what the stty does shakna|5 years ago 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. load replies (1)
exabrial|5 years ago Ok what on earth is going on there... It's launching a shell but I'm not sure what the stty does shakna|5 years ago 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. load replies (1)
shakna|5 years ago 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. load replies (1)
exabrial|5 years ago
shakna|5 years ago
That line turns off buffering so that keypresses can immediately be read, by putting it into "raw" mode.