You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My cursor changes style from pipe to rectangle in ZSH shell when use vim mode but also in vim when switching from Normal and Insert modes. The cursor changes styles when I use ssh but in a mosh session, I see only the pipe-style cursor and it never changes.
Is there a way to fix that behavior?
I'm using the latest git version build on the server and on the client.
Server - archlinux: mosh 1.3.2 [build mosh-1.3.2-86-g0cc492d]
Client - macosx: mosh 1.3.2 [build mosh-1.3.2-86-g0cc492d]
Reacted by Avritt Rohwer, Cameron, sinap-fb, Daniel Lundin, Matheus Zabin, George Karpenkov, Kovas Palunas, Caleb Albritton, Rohith Ravi, David Herrmann and 9 more
Long standing known open issue: #352
Probably the most sorely lacking or user impacting missing functionality when using terminal IMHO in an otherwise wonderfully life saving app.
Activity
matheusfillipe commentedon May 9, 2020
I have the exact same issue with arch server and ubuntu client.
mqzabin commentedon Jul 31, 2020
I have the same issue. My brain use the cursor shape as a primary normal/insert mode detection. It's painfull.
disrupted commentedon Aug 22, 2020
same here using mosh-server and client compiled from latest master
kovasap commentedon Dec 22, 2020
Same here!
damnskippy commentedon Dec 23, 2020
Long standing known open issue: #352
Probably the most sorely lacking or user impacting missing functionality when using terminal IMHO in an otherwise wonderfully life saving app.
waltarix commentedon Dec 11, 2021
Here is a patch for this issue. (based on 378dfa6)
Hope this helps.
disrupted commentedon Dec 11, 2021
@waltarix really cool! have you already created a PR for it?
waltarix commentedon Dec 11, 2021
No, I haven't, because it's just a quick fix.
However, anyone is free to use this patch, so if someone wants to make a PR, that would be great.
matheusfillipe commentedon Dec 12, 2021
@waltarix I tested your patch and it fixes the issue on my case. I took the freedom to submit a PR with your changes now.
waltarix commentedon Dec 12, 2021
That's nice. Thanks for your help.
jasonjurotich commentedon May 14, 2022
Any news on whether they are going to add this. We still can't see the cursor change using mosh...
Ingvix commentedon Jul 7, 2022
@waltarix's patch doesn't seem to work for me on st. I only see a blinking block. Any thoughts?
achernya commentedon Jan 24, 2023
Marking this as a duplicate of #352 which covers more cursor style issues.