7696122 / evil-terminal-cursor-changer

:smiling_imp: Chagning cursor by mode for evil on terminal.
80 stars 12 forks source link

Make sure a valid escape sequence is always returned #22

Closed kisaragi-hiu closed 3 years ago

kisaragi-hiu commented 5 years ago

If for whatever reason the make-*-cursor-shape functions receive something that's not 'box, 'bar, or 'hbar, currently they'll either return nil and do nothing or trigger a void-variable error, causing the user to have to read the code to see what's wrong.

This should fix #19.