2022-05-03 04:31:49 +00:00
|
|
|
/***
|
|
|
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
|
|
|
|
File: ConsoleTTY.NT.hpp
|
|
|
|
Date: 2022-5-2
|
|
|
|
Author: Reece
|
|
|
|
***/
|
|
|
|
#pragma once
|
2022-05-17 16:54:14 +00:00
|
|
|
|
|
|
|
namespace Aurora::Console::ConsoleTTY
|
|
|
|
{
|
|
|
|
HANDLE GetTTYHandle();
|
|
|
|
|
|
|
|
void RecordFunction(const AuFunction<void()> &func);
|
|
|
|
|
2022-09-09 20:12:20 +00:00
|
|
|
void GetConsoleHandles(HANDLE(&handles)[2]);
|
|
|
|
|
2022-05-17 23:51:57 +00:00
|
|
|
bool WarmBuffering();
|
2022-05-17 16:54:14 +00:00
|
|
|
void BeginBuffering();
|
2022-05-17 23:51:57 +00:00
|
|
|
bool EndBuffering();
|
2022-05-17 16:54:14 +00:00
|
|
|
}
|