MCPcopy Create free account
hub / github.com/LagPixelLOL/ChatGPTCLIBot / cursor_up

Method cursor_up

main/interface/cpp-terminal/base.cpp:30–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28std::string Term::cursor_move(std::size_t row, std::size_t column) { return "\033[" + std::to_string(row) + ';' + std::to_string(column) + 'H'; }
29
30std::string Term::cursor_up(std::size_t rows) { return "\033[" + std::to_string(rows) + 'A'; }
31
32std::string Term::cursor_down(std::size_t rows) { return "\033[" + std::to_string(rows) + 'B'; }
33

Callers

nothing calls this directly

Calls 1

to_stringFunction · 0.50

Tested by

no test coverage detected