diff options
| author | Louis Burda <quent.burda@gmail.com> | 2021-12-16 17:11:12 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2021-12-20 15:31:31 +0100 |
| commit | 3eea7a245a7ed49127a222628543f9509a6ff2b6 (patch) | |
| tree | 345a923819b73bc88b551af5f708476239b6b7d9 /util.c | |
| parent | 15a8fe2cf2b16af8739a7ec2b64b5c5f184161b8 (diff) | |
| download | tmus-3eea7a245a7ed49127a222628543f9509a6ff2b6.tar.gz tmus-3eea7a245a7ed49127a222628543f9509a6ff2b6.zip | |
Switched most buffers to wide chars, added general ref class, now clear mpd errors, added track and command completion
Diffstat (limited to 'util.c')
| -rw-r--r-- | util.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,8 @@ #include "util.h" +#include "ncurses.h" + #include <stdarg.h> #include <stdlib.h> #include <string.h> @@ -42,6 +44,7 @@ assert(int cond, const char *file, int line, const char *condstr) { if (cond) return; + endwin(); fprintf(stderr, "Assertion failed %s:%i (%s)\n", file, line, condstr); exit(1); } |
