This commit is contained in:
Kipras Melnikovas 2024-03-23 18:07:01 +00:00 committed by GitHub
commit 0f9bc8f635
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@
#elif defined(__FreeBSD__) #elif defined(__FreeBSD__)
#include <ncurses.h> #include <ncurses.h>
#else #else
#include <ncursesw/curses.h> #include <ncurses.h>
#endif #endif
#include <readline/chardefs.h> #include <readline/chardefs.h>
#include <signal.h> #include <signal.h>

View file

@ -24,7 +24,7 @@
#elif defined(__FreeBSD__) #elif defined(__FreeBSD__)
#include <ncurses.h> #include <ncurses.h>
#else #else
#include <ncursesw/curses.h> #include <ncurses.h>
#endif #endif
#define color_attr_on(C) if(terminal_has_colors()) { attron(C); } #define color_attr_on(C) if(terminal_has_colors()) { attron(C); }