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  */
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 
41 
42 #endif
bool AutoInputActive()
Definition: autoinput.cc:360
void AutoInputEnd()
Definition: autoinput.cc:355
AutoInputResponse GetAutoInput()
Definition: autoinput.cc:316
std::variant< std::string, std::array< unsigned, 4 > > AutoInputResponse
Definition: autoinput.hh:24
void AutoInputStart(std::string_view filename)
Definition: autoinput.cc:330