diff options
Diffstat (limited to 'src/tui.c')
-rw-r--r-- | src/tui.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -171,3 +171,14 @@ tui_post_reload(void *state) redraw(); } #endif + +#ifdef NDEBUG +static struct disp __tui_disp = { + .init = tui_init, + .display_calc = tui_display_calc, + .read_input = tui_read_input, + .display_res = tui_display_res, + .destroy = tui_destroy +}; +struct disp *tui_disp = &__tui_disp; +#endif |