mskyaxl / wsl-terminal

Terminal emulator for Windows Subsystem for Linux (WSL)
MIT License
3.12k stars 158 forks source link

运行tmux之后,光标就消失 #181

Open skywb opened 4 years ago

skywb commented 4 years ago

正常使用没有问题,当我打开tumx之后光标就消失了, 可以输入字符,但是看不到光标 退出tmux之后,光标依然看不到。 请问是我设置的问题还是bug。 image image

lihuixian001 commented 4 years ago

+1

mskyaxl commented 4 years ago

can you please share your configuration of wsl-terminal and your .bashrc, .profile or .zsh, depending on what you use?

skywb commented 4 years ago

Are the default settings, I have hardly modified them. Pasting all the content here is very long, I use paste.ubuntu.com to show you

.bashrc https://paste.ubuntu.com/p/SRkfM7MFTH/ .profile https://paste.ubuntu.com/p/28bDndGqPh/ wsl-terminal https://paste.ubuntu.com/p/wY2KDdVzhr/

thanks

mskyaxl commented 4 years ago

Thanks

I did use your specific files on a WSL2 Ubuntu 18.04 distro and I don't see the same behavior image

But is this happening only in tmux?

skywb commented 4 years ago

yes, it only appears when using tmux + wsl-terminal. When I use windows terminal + tmux, it does not appear image image

banchl commented 4 years ago

右键选项里面给光标颜色换个颜色试试

lihuixian001 commented 4 years ago

this bug is caused by Microsoft Chinese IME. If you switch to English, you will have a cursor

banchl commented 4 years ago

you mean Windows switch to English or wsl-terminal UI language switch to en_US?

lihuixian001 commented 4 years ago

tmux 同时使用微软拼音输入法会导致光标消失,切换到英文键盘就可以了 image

banchl commented 4 years ago

试了下好像是这样 多谢

banchl commented 4 years ago

更新 mintty 为 3.2.0 后正常

SheldonNico commented 3 years ago

更新 mintty 为 3.2.0 后正常

光标颜色对了,但闪烁还是不行