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

Method cursor_left

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

Source from the content-addressed store, hash-verified

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
38std::pair<std::size_t, std::size_t> Term::cursor_position() {
39 // write cursor position report

Callers

nothing calls this directly

Calls 1

to_stringFunction · 0.50

Tested by

no test coverage detected