Oni exits without prompting to save
Please allow salvaging unsaved data - presently Oni exits disregarding whether a file is persisted to disk/saved. Prevent valuable data and thus work lost by prompting to save a file.
Thank you!
Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.
Hi, thanks for logging this issue and trying out Oni!
Could you please list the steps for reproduction?
@TalAmuyal You can open a file, change it's content, not save and close the tab.
On Vim you receive a prompt to confirm.
Yeah, this was filed as #264. I agree, it does need to be fixed. Personally, I think this is one of those things that prevents Oni from being a daily-use text editor since if you accidentally close an edited file there's nothing you can do to recover.
@keforbes I think we can close this one, right?
I think so too - closing since #264 tracks this.
Just for the record, :q<CR> does warn you.
@TalAmuyal Indeed, I tried on another machine and this behaviour is preserved, I'll investigate what's the difference, thanks!