terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Cursor style do not change between rectangular and vertical line when switching Vi modes.

Open quazi-irfan opened this issue 4 years ago • 3 comments

What Happened

On vi, the cursor style stays the rectangular no matter what mode I am in.

Expected Behavior

In Vi, the cursor style should switch between rectangular and line when moved from command mode to insert mode.

Steps to Reproduce

Default Elementary installation comes with Vi.

  1. Start Vi by running vi in default terminal application.
  2. Vi starts in command mode. Notice the cursor looking like a white rectangular because we are in command mode. Which is correct visual style.
  3. Press i to go to insert mode. Notice the cursor has not changed its shape to a vertical line.
  4. You can move back and forth between command and insert mode, but the cursor style always stays rectangular.

Platform Information

Elementary OS 6 Early Access - running on Windows 10 HyperV

quazi-irfan avatar Jul 05 '21 19:07 quazi-irfan

This issue also occurs with Gnome Terminal and QTerminal so is unlikely to be an issue with Terminal code.

jeremypw avatar Jul 06 '21 17:07 jeremypw

I believe it's because elementary comes only with vim.tiny

I have neovim installed and it changes the cursor as expected, but vim.tiny don't.

Marukesu avatar Jul 06 '21 18:07 Marukesu

Marking as "Out of Scope" as it is not something that can be addressed in Terminal.

jeremypw avatar Jul 07 '21 08:07 jeremypw