punassuming / ranger.el

Bringing the goodness of ranger to dired!
699 stars 52 forks source link

Moving in directories makes cursor invisible #213

Open apraga opened 4 years ago

apraga commented 4 years ago

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

nova-nowiz commented 2 years ago

@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?