Add message dialog asking to save on quit

This commit is contained in:
krzosa
2025-12-22 09:50:38 +01:00
parent 725cdde007
commit 32efabac6a
8 changed files with 95 additions and 28 deletions

View File

@@ -2,6 +2,7 @@ void CommandWindowInit() {
Window *window = CreateWind();
CommandBarWindowID = window->id;
Buffer *buffer = CreateBuffer(SysAllocator, "command_bar");
buffer->dont_warn_on_save = true;
View *view = CreateView(buffer->id);
window->active_view = view->id;
window->draw_line_numbers = false;