Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor disappears inside neovim #1127

Open
samueldaniel opened this issue May 20, 2024 · 4 comments
Open

Cursor disappears inside neovim #1127

samueldaniel opened this issue May 20, 2024 · 4 comments
Assignees

Comments

@samueldaniel
Copy link

Bug description

The cursor works fine in my terminal but it disappears inside neovim.

Screenshots

image

Steps to reproduce

  1. ssh to host
  2. open neovim
  3. try to find cursor
  4. cannot find cursor
@isontheline isontheline self-assigned this May 20, 2024
@isontheline
Copy link
Owner

Could it be a configuration issue of neovim?
image

If you set a different background color, does the cursor appears?

@samueldaniel
Copy link
Author

Could it be a configuration issue of neovim?

image

If you set a different background color, does the cursor appears?

The cursor appears as a line (not a block) in INSERT mode but does not appear at all in VISUAL or NORMAL mode.

I don't think it's a neovim config issue because it works just fine in every other SSH client/terminal I've tried on my iPad.

Changing themes in WebSSH does not help.

@samueldaniel
Copy link
Author

ok so I just turned off my neovim theme and the cursor appeared. So I guess we could say it is in fact a neovim config issue!

But! Because it works in every other SSH client/terminal I've tried, I'm still kind of sort of thinking that there is some interplay between neovim and WebSSH that isn't quite right... I can't back that up with any code though 😂

thanks for the quick response @isontheline! WebSSH is the best SSH client I've tried on my iPad so far (and I've tried several...)! It's the only one that properly renders my tmux panes and also handles my various key combos correctly.

@isontheline
Copy link
Owner

It could be an issue with the underlying rendering library : https://github.com/xtermjs/xterm.js

Have you tried to change the terminal type inside your server settings on WebSSH? (Like xterm / xterm-color)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants