removed raw mode and no-echo