#include "game.h" void gs_handle_command(GameState *gs, const char *command) { Input *input = gs->input; if (strcmp(input->input_buffer, "QUIT") == 0) { *(gs->should_close) = true; } else { push_input_buffer_to_log(input); } }