Thanks for sharing! I didn't know that tcsetattr can also flush unread input. A while ago I was writing a single keypress confirmation "wizard" for Bork and I was worried that somebody could press two keys at once by mistake and instantly skip past a screen.
I guess placing a .FLUSH call between screens could help mitigate this problem.
For further actions, you may consider blocking this person and/or reporting abuse
Thanks for sharing! I didn't know that tcsetattr can also flush unread input. A while ago I was writing a single keypress confirmation "wizard" for Bork and I was worried that somebody could press two keys at once by mistake and instantly skip past a screen.
I guess placing a .FLUSH call between screens could help mitigate this problem.