Fixed #19 (Yank error in TTY session)