punassuming/ranger.el

Moving in directories makes cursor invisible

Opened this issue · 1 comments

Hi,
I'm trying ranger at the moment but I've found that going in a folder (with ret) or going back to a parent (with h) disables the cursor by setting cursor-type to nil.
range-hide-the-cursor is set to nil, though.
This is unfortunate as there is no hl-line in my colorscheme (solarized) so I cannot see where the cursor is.

Could you enable the cursor by default as I think it's a bug ?
Thank you

@Ralesi, I tried digging in the code to see where this bug can from and found a lot of setq-local cursor-type nil lines, but I also found a ranger-hide-the-cursor function.
Should every setq-local cursor-type nil be replaced with a call to ranger-hide-cursor to ensure that ranger-hide-cursor is respected?