#ifndef DEBUGGER_TUI_H
#define DEBUGGER_TUI_H

#include "asic.h"

char **tui_parse_commandline(const char *, int *);

#ifndef EMSCRIPTEN
void tui_tick(asic_t *asic);
#endif

#endif

#ifndef DEBUGGER_TUI_H
#define DEBUGGER_TUI_H

#include "asic.h"

char **tui_parse_commandline(const char *, int *);
void tui_tick(asic_t *asic);

#endif

--- 
+++ 
@@ -4,6 +4,9 @@
 #include "asic.h"
 
 char **tui_parse_commandline(const char *, int *);
+
+#ifndef EMSCRIPTEN
 void tui_tick(asic_t *asic);
+#endif
 
 #endif
Add ifs around TUI function not available in emscripten
