Can't see what I'm typing in iterm2

2019-03-18 16:20发布

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.

enter image description here

Update!:

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

enter image description here

2条回答
放我归山
2楼-- · 2019-03-18 17:03

Typing "stty sane" Fixes this for me.

查看更多
倾城 Initia
3楼-- · 2019-03-18 17:13

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

查看更多
登录 后发表回答