Beam cursor changes to to block when after opening and closing Vim
OfekKandel opened this issue · comments
In my alacritty.toml I have cursor.style set to "beam", which works as expected. However, after opening Neovim (in which I have a blcok cursor style) the cursor style does not change back, it remains a block cursor. I don't believe this has anything to do with Neovim really, probably just any process which changes the cursor style
On my system this simply happens when entering neovim (nvim
) and exiting (:q!
)
System
OS: macOS
Version: alacritty 0.13.2 (bb8ea18)
Logs
alacritty -vv
output long
Created log file at "/var/folders/26/99jl6j954z507cjmpyv7n8c80000gn/T/Alacritty-2542.log"
[0.000002625s] [INFO ] [alacritty] Welcome to Alacritty
[0.000193708s] [INFO ] [alacritty] Version 0.13.2 (bb8ea18)
[0.000546125s] [INFO ] [alacritty] Configuration files loaded from:
"/Users/ofek/.config/alacritty/alacritty.toml"
"/Users/ofek/.config/alacritty/themes/themes/catppuccin.toml"
[0.000758333s] [DEBUG] [alacritty] Using environment locale: C/UTF-8/C/C/C/C
[0.017681416s] [INFO ] [alacritty] Using Apple CGL
[0.028588833s] [DEBUG] [alacritty] Picked GL Config:
buffer_type: Some(Rgb { r_size: 8, g_size: 8, b_size: 8 })
alpha_size: 8
num_samples: 0
hardware_accelerated: true
supports_transparency: Some(true)
config_api: Api(OPENGL)
srgb_capable: true
[0.045208500s] [INFO ] [alacritty] Window scale factor: 1
[0.046063500s] [DEBUG] [alacritty] Loading "MonoLisa Nerd Font Mono" font
[0.074481250s] [INFO ] [alacritty] Running on Apple M1
[0.074515416s] [INFO ] [alacritty] OpenGL version 4.1 Metal - 86, shader_version 4.10
[0.074524708s] [INFO ] [alacritty] Using OpenGL 3.3 renderer
[0.077844791s] [DEBUG] [alacritty] Filling glyph cache with common glyphs
[0.085697208s] [INFO ] [alacritty] Cell size: 8 x 19
[0.085726416s] [INFO ] [alacritty] Padding: 12 x 15
[0.085736375s] [INFO ] [alacritty] Width: 800, Height: 600
[0.095626083s] [INFO ] [alacritty] PTY dimensions: 30 x 97
[0.097344291s] [INFO ] [alacritty] Initialisation complete
[6.494452166s] [INFO ] [alacritty] Goodbye
Deleted log file at "/var/folders/26/99jl6j954z507cjmpyv7n8c80000gn/T/Alacritty-2542.log"
I have the alacritty --print-events
log saved but its so incredibly long and I'm not sure it is relevant here, anyway I can send it too.
It's neovim, read the section "CURSOR STYLE ISN'T RESTORED AFTER EXITING OR SUSPENDING AND RESUMING NVIM" in https://neovim.io/doc/user/faq.html#faq
Oh god, my bad, thanks!