Terminal++ 3.1.0.4
A C++ library for interacting with ANSI terminal windows
Loading...
Searching...
No Matches
ss3.hpp
1#pragma once
2
3#include "terminalpp/detail/ascii.hpp"
4
5//* =========================================================================
14//* =========================================================================
15namespace terminalpp::ansi::ss3 {
16
17// clang-format off
18// Move the cursor up one character.
19inline constexpr byte cursor_up = terminalpp::detail::ascii::uppercase_a;
20// Move the cursor down one character.
21inline constexpr byte cursor_down = terminalpp::detail::ascii::uppercase_b;
22// Move the cursor right one character.
23inline constexpr byte cursor_right = terminalpp::detail::ascii::uppercase_c;
24// Move the cursor left one character.
25inline constexpr byte cursor_left = terminalpp::detail::ascii::uppercase_d;
26// Move the cursor to the home row.
27inline constexpr byte cursor_home = terminalpp::detail::ascii::uppercase_h;
28// Move to the next tab stop.
29inline constexpr byte cursor_tab = terminalpp::detail::ascii::uppercase_i;
30// Move the cursor to the end of the line.
31inline constexpr byte cursor_end = terminalpp::detail::ascii::uppercase_f;
32// Enter key
33inline constexpr byte enter = terminalpp::detail::ascii::uppercase_m;
34// F1 Key
35inline constexpr byte f1 = terminalpp::detail::ascii::uppercase_p;
36// F2 Key
37inline constexpr byte f2 = terminalpp::detail::ascii::uppercase_q;
38// F3 Key
39inline constexpr byte f3 = terminalpp::detail::ascii::uppercase_r;
40// F4 Key
41inline constexpr byte f4 = terminalpp::detail::ascii::uppercase_s;
42// clang-format on
43
44} // namespace terminalpp::ansi::ss3
Constants for Single Shift to G3 commands.