10.Commit: Fixed termios_monitor.cpp for mac