Add output helper
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
/*
|
||||||
|
Author: Joel Mathew Thomas
|
||||||
|
Date: 18-02-2026
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "OutputHelper.h"
|
||||||
|
|
||||||
|
void util::clear()
|
||||||
|
{
|
||||||
|
std::cout << "\x1B[2J\x1B[H" << std::flush;
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
/*
|
||||||
|
Author: Joel Mathew Thomas
|
||||||
|
Date: 18-02-2026
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
namespace util
|
||||||
|
{
|
||||||
|
void clear();
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user