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

Method cursor_right

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

Source from the content-addressed store, hash-verified

32std::string Term::cursor_down(std::size_t rows) { return "\033[" + std::to_string(rows) + 'B'; }
33
34std::string Term::cursor_right(std::size_t columns) { return "\033[" + std::to_string(columns) + 'C'; }
35
36std::string Term::cursor_left(std::size_t columns) { return "\033[" + std::to_string(columns) + 'D'; }
37

Callers

nothing calls this directly

Calls 1

to_stringFunction · 0.50

Tested by

no test coverage detected