That Terminal
A terminal emulator designed for video making purposes.
autoinput.hh
Go to the documentation of this file.
1
#ifndef bqtAutoInputHH
2
#define bqtAutoInputHH
7
#include <string>
8
#include <variant>
9
#include <string_view>
10
/* Special sequences:
11
*
12
* 7FFD fontsize termsize
13
* where fontsize = newfx + 32*newfy
14
* termsize = newsx + 1024*newsy
15
* 7FFE delay
16
* where delay unit is 250ms
17
* 7FFF speed
18
*/
20
using
AutoInputResponse
=
21
std::variant<
22
std::string,
/* input */
23
std::array<unsigned,4>
/* terminal resize: font size{x,y}, window size{x,y} */
24
>;
/* nothing */
25
27
void
AutoInputStart
(std::string_view filename);
28
30
void
AutoInputEnd
();
31
33
bool
AutoInputActive
();
34
40
AutoInputResponse
GetAutoInput
();
41
42
#endif
AutoInputActive
bool AutoInputActive()
Definition:
autoinput.cc:360
AutoInputEnd
void AutoInputEnd()
Definition:
autoinput.cc:355
GetAutoInput
AutoInputResponse GetAutoInput()
Definition:
autoinput.cc:316
AutoInputResponse
std::variant< std::string, std::array< unsigned, 4 > > AutoInputResponse
Definition:
autoinput.hh:24
AutoInputStart
void AutoInputStart(std::string_view filename)
Definition:
autoinput.cc:330
src
autoinput.hh
Generated by
1.9.1