cpp-terminal 1.0.0
Small C++ library for writing multiplatform terminal applications
Loading...
Searching...
No Matches
terminal.hpp
Go to the documentation of this file.
1/*
2* cpp-terminal
3* C++ library for writing multi-platform terminal applications.
4*
5* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
6*
7* SPDX-License-Identifier: MIT
8*/
9
10#pragma once
11
14
15#include <string>
16
17namespace Term
18{
19
20static const TerminalInitializer terminal_initializer; //NOLINT(cert-err58-cpp,fuchsia-statically-constructed-objects)
22
23// change the title of the terminal, only supported by a few terminals
24std::string terminal_title(const std::string& title);
25// clear the screen and the scroll-back buffer
26std::string clear_buffer();
27
28} // namespace Term
Definition args.cpp:13
Term::Terminal & terminal
Definition terminal.cpp:19
std::string terminal_title(const std::string &title)
Definition terminal.cpp:21
std::string clear_buffer()
Definition terminal.cpp:23