// vim:fileencoding=utf-8:foldmethod=marker

#ifndef TERM_COLOUR_H
#define TERM_COLOUR_H

#include "terminal_colours.h"
#include "../../../common/aliases/aliases.h"
#include "../../../common/platform/platform.h"
#include "../../../base/strings/str8/str8.h"

#ifdef WP_PLATFORM_CPP
BEGIN_C_LINKAGE
#endif // !WP_PLATFORM_CPP

// TODO (Abdelrahman): Look into moving away from stdio in the implementation

void wpShellTermcolourPrintText(WpStr8RO *text, WpTerminalColour colour);
void wpShellTermcolourClearColour(void);

wp_extern void _printColouredText(WpStr8RO *text, WpTerminalColour colour);

#ifdef WP_PLATFORM_CPP
END_C_LINKAGE
#endif // !WP_PLATFORM_CPP

#endif // !TERM_COLOUR_H
