richrd/suplemon

Editor doesn't warn when quitting without saving

Opened this issue · 1 comments

My favorite text-based editor so far! I really like how it resembles Nano/Pico. The only flaw I've found (v0.2.1) is that yours -unlike Nano- doesn't warn when quitting without saving the current changes... it just asks y/N before quitting.

Nice to hear! Yeah it doesn't explicitly say there are unsaved changed, but it does ask for confirmation like you said. When there are no unsaved changed it exits without asking. I think it's worth making the exit confirmation explicitly say there are unsaved changes 👍