Command_CloseAll, Command_Quit, Command_NewWindow

This commit is contained in:
krzosa
2025-12-22 11:31:06 +01:00
parent 3ba7eeb1f2
commit 6243cace7d
9 changed files with 98 additions and 48 deletions

View File

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