mirror of
https://git.tesses.org/tesses50/tessesframework.git
synced 2026-06-01 18:15:31 +00:00
Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin
This commit is contained in:
20
examples/console-test.cpp
Normal file
20
examples/console-test.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include <TessesFramework/TessesFramework.hpp>
|
||||
|
||||
using namespace Tesses::Framework;
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
TF_Init();
|
||||
Console::SetPosition(0,0);
|
||||
Console::WriteLine("Demi Lovato Is Cute Right");
|
||||
Console::WriteLine("Right");
|
||||
Console::WriteLine("Al Gore");
|
||||
Console::WriteLine("Demi Lovato");
|
||||
Console::WriteLine("Hello \x1B[33myellow\x1B[37m world");
|
||||
Console::ReadLine();
|
||||
|
||||
Console::SetPosition(2,1);
|
||||
|
||||
Console::ClearRetainPosition(ClearBehaviour::CB_CURSORANDBELOW);
|
||||
Console::ReadLine();
|
||||
}
|
||||
Reference in New Issue
Block a user