Little fixes
This commit is contained in:
parent
76cab9137b
commit
30e61e2728
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue