fre*_*gas 15 rspec command-line-interface iterm iterm2
我会定期运行rspec(虽然我不知道它是否特定于那个)然后突然间,我看不到我在打字.我必须关闭iterm2窗口并打开一个新窗口.然后,这将很好地工作一段时间,iterm2将再次隐藏我的打字.我总能看到对命令的响应,而不是我的输入或光标.它也做了这种奇怪的堆叠,它将每一条新线推向更远的地方.

更新!:
我尝试了输入stty echo的建议,可以看到我的文字,但奇怪的缩进仍然存在:

小智 7
使用清理此问题和许多其他问题stty sane。
从谷歌搜索中得到了一点:
与相同
cread -ignbrk brkint -inlcr -igncr icrnl -iutf8 -ixoff -iuclc -ixany imaxbel opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke,所有特殊字符均为默认值。
资料来源:http : //www.tutorialspoint.com/unix_commands/stty.htm