Remove unnecessary termcolour header files

This commit is contained in:
2024-10-05 22:28:24 +01:00
parent a546a09565
commit e053aa44ab
5 changed files with 1 additions and 58 deletions

View File

@@ -1,14 +1,7 @@
#include "termcolour.h"
#include "terminal_colours.h"
#include "platform.h"
#ifdef WAPP_PLATFORM_WINDOWS
#include "termcolour_win.h"
#elif defined(WAPP_PLATFORM_POSIX)
#include "termcolour_posix.h"
#else
#error "Unrecognised platform"
#endif
extern void print_coloured_text(const char *text, TerminalColour colour);
void wapp_shell_termcolour_print_text(const char *text, TerminalColour colour) {
if (colour < WAPP_TERM_COLOUR_FG_BLACK || colour > WAPP_TERM_COLOUR_FG_BR_WHITE) {