Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
system.c: Flush node input after running external programs.
If a child program that was supposed to receive user input didn't receive it before exiting, then input the user intended for the program might go back to the BBS afterwards, potentially doing unwanted things in the menu system. Since any "leftover" input should be discarded, flush any pending input on the node after the child has exited.
- Loading branch information