Revert the changes to shell tui that make it stoppable without user input from system.in - The solution is working fine on *x but doesn't on windows.