Can't see what I'm typing in iterm2

狂风中的少年 提交于 2019-12-03 11:36:21

问题


Periodically, I'll run rspec (though I don't know if its specific to that) and suddenly, I can't see what i'm typing. I have to close that iterm2 window out and open a new one. Then that will work fine for a while and iterm2 will hide my typing again. I can always see responses to my commands, just not my typing or cursor. It also does this weird stacking thing where it pushes each new line farther to the right.

Update!:

I tried the suggestion to type in stty echo and can see my text, but the weird indention remains:


回答1:


Typing "stty sane" Fixes this for me.




回答2:


Clean up this and many other issues with stty sane.

Got this from a bit of Googling:

same as 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, all special characters to their default values.

Source: http://www.tutorialspoint.com/unix_commands/stty.htm



来源:https://stackoverflow.com/questions/28073559/cant-see-what-im-typing-in-iterm2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!