Fixed a bug related to input echo in non-Windows devices.