Hyper: Neovim cursor shape does not change on insert mode

Created on 16 Mar 2018  路  3Comments  路  Source: vercel/hyper

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate
  • Debian WSL on Windows 10:
  • 2.0.0-canary.14:
  • The issue is reproducible in vanilla Hyper.app:

Issue


This is an old issue #270, that was supposedly fixed by #2437, but that was under hterm I believe. The cursor remains a block regardless of mode in Neovim. Not sure if the change to xterm has caused a regression here or I am missing something.

Bug Compatibility

Most helpful comment

I am using Hyper 3.0.2 on MacOS 10.13.6 with Vim 8.1.950 and I have this issue. I have the below set in my .vimrc. I can change the cursor shape in hyper.js, but it will not change as it should when switching between insert/visual etc in an xterm terminal.

let &t_SI = "\<Esc>[6 q"
let &t_SR = "\<Esc>[4 q"
let &t_EI = "\<Esc>[2 q"

When I tested Neovim, the cursor was changing correctly.

All 3 comments

I'm on Arch with nvim and don't have this issue on the latest build. Perhaps you could try running a windows binary of nvim with hyper to see if the issue persists. Does the cursor change when using a different terminal emulator with WSL?

I'm using Ubuntu and have the same problem, but for vim.

I am using Hyper 3.0.2 on MacOS 10.13.6 with Vim 8.1.950 and I have this issue. I have the below set in my .vimrc. I can change the cursor shape in hyper.js, but it will not change as it should when switching between insert/visual etc in an xterm terminal.

let &t_SI = "\<Esc>[6 q"
let &t_SR = "\<Esc>[4 q"
let &t_EI = "\<Esc>[2 q"

When I tested Neovim, the cursor was changing correctly.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daenuprobst picture daenuprobst  路  3Comments

dbkaplun picture dbkaplun  路  3Comments

stan-stripe picture stan-stripe  路  3Comments

alejandrofloresm picture alejandrofloresm  路  3Comments

yvan-sraka picture yvan-sraka  路  3Comments