elementary / terminal

Terminal emulator designed for elementary OS
https://elementary.io
GNU Lesser General Public License v3.0
403 stars 97 forks source link

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

Open quazi-irfan opened 3 years ago

quazi-irfan commented 3 years ago

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

jeremypw commented 3 years ago

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

Marukesu commented 3 years ago

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.

jeremypw commented 3 years ago

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