2022-05-18 23:12:52 +00:00
|
|
|
/***
|
|
|
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
|
|
|
|
File: Buffer.hpp
|
|
|
|
Date: 2022-5-18
|
|
|
|
Author: Reece
|
|
|
|
***/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Aurora::Console::ConsoleTTY
|
|
|
|
{
|
2022-08-02 04:52:17 +00:00
|
|
|
/**
|
|
|
|
* @brief Is in the middle of buffering all stdout writes?
|
|
|
|
*/
|
|
|
|
AUKN_SYM bool IsBuffering();
|
2022-05-18 23:12:52 +00:00
|
|
|
|
2022-08-02 04:52:17 +00:00
|
|
|
/**
|
|
|
|
* @brief Begin stdout buffering
|
|
|
|
*/
|
|
|
|
AUKN_SYM void BeginBuffering();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Flip framebuffer
|
|
|
|
*/
|
|
|
|
AUKN_SYM bool EndBuffering();
|
2022-05-18 23:12:52 +00:00
|
|
|
}
|