That Terminal
A terminal emulator designed for video making purposes.
autoinput.cc File Reference

This module provides the same functionality as INPUTTER (https://bisqwit.iki.fi/source/inputter.html) More...

#include <mutex>
#include <thread>
#include <string_view>
#include <random>
#include <list>
#include "autoinput.hh"
#include "ctype.hh"
#include "clock.hh"
#include "ui.hh"
#include <iostream>
#include <fstream>
Include dependency graph for autoinput.cc:

Functions

void AutoInputProvider (std::u32string &s)
 
AutoInputResponse GetAutoInput ()
 
void AutoInputStart (std::string_view filename)
 
void AutoInputEnd ()
 
bool AutoInputActive ()
 

Detailed Description

This module provides the same functionality as INPUTTER (https://bisqwit.iki.fi/source/inputter.html)

Function Documentation

◆ AutoInputActive()

bool AutoInputActive ( )
Returns
true if automatic input is active.

◆ AutoInputEnd()

void AutoInputEnd ( )

Ends automatic input.

◆ AutoInputStart()

void AutoInputStart ( std::string_view  filename)

Starts automatic input from inputter.dat

◆ GetAutoInput()

AutoInputResponse GetAutoInput ( )

Returns the next element from the automatic input sequence.

Returns
a terminal resize specification, or a string of input. An empty string denotes that no further input is available right now.