aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis.c b/vis.c
index 53a7dbd..9054ccc 100644
--- a/vis.c
+++ b/vis.c
@@ -146,7 +146,7 @@ typedef struct { /* command definitions for the ':'-prom
} Command;
/** global variables */
-static bool running = true; /* exit main loop once this becomes false */
+static volatile bool running = true; /* exit main loop once this becomes false */
static Editor *vis; /* global editor instance, keeps track of all windows etc. */
static Mode *mode; /* currently active mode, used to search for keybindings */
static Mode *mode_prev; /* mode which was active previously */