diff --git a/CMakeLists.txt b/CMakeLists.txt index ca80edf..16a9345 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,7 +55,8 @@ set (project_sources ${PROJECT_NAME}.c) set (project_headers ${PROJECT_BINARY_DIR}/config.h) # Project libraries -set (project_libraries ${ncursesw_LIBRARIES} ${LIBEV_LIBRARIES} termo-static) +set (project_libraries + ${ncursesw_LIBRARIES} ${LIBEV_LIBRARIES} ${Termo_LIBRARIES}) # Generate a configuration file configure_file (${PROJECT_SOURCE_DIR}/config.h.in ${PROJECT_BINARY_DIR}/config.h) diff --git a/autistdraw.c b/autistdraw.c index 31d8c0b..d3215bf 100644 --- a/autistdraw.c +++ b/autistdraw.c @@ -1011,10 +1011,10 @@ on_winch (EV_P_ ev_signal *handle, int revents) (row && xstrtoul (&tmp, row, 10)) ? (int) tmp : size.ws_row, (col && xstrtoul (&tmp, col, 10)) ? (int) tmp : size.ws_col); } -#else // ! HAVE_RESIZE_TERM || ! TIOCGWINSZ +#else // ! HAVE_RESIZETERM || ! TIOCGWINSZ endwin (); refresh (); -#endif // ! HAVE_RESIZE_TERM || ! TIOCGWINSZ +#endif // ! HAVE_RESIZETERM || ! TIOCGWINSZ update_canvas_for_screen (app); redraw (app);