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