From 3183400019d6c822fa6d687b72d9ed74a8b49070 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Mon, 25 Jul 2022 16:21:39 -0500 Subject: [PATCH] it appears SDL2 takes over interrupt in console mode --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 2ef45c23d..9ff5b9934 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,7 +20,7 @@ #include #include #include -#ifdef HAVE_GUI +#ifdef HAVE_SDL2 #include "SDL_events.h" #endif #include "ta-log.h" @@ -467,7 +467,7 @@ int main(int argc, char** argv) { if (consoleMode) { logI("playing..."); e.play(); -#ifdef HAVE_GUI +#ifdef HAVE_SDL2 SDL_Event ev; while (true) { SDL_WaitEvent(&ev);