Declare external functions for termcolour and commander in the headers

This commit is contained in:
2024-10-05 23:04:35 +01:00
parent d3a86ec6cb
commit f2f155744a
4 changed files with 6 additions and 3 deletions

View File

@@ -1,8 +1,6 @@
#include "termcolour.h"
#include "terminal_colours.h"
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) {
return;