Fixed weird command echoing on ttys