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

Method screen_save

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

Source from the content-addressed store, hash-verified

65std::string Term::clear_eol() { return "\033[K"; }
66
67std::string Term::screen_save()
68{
69 return "\0337\033[?1049h"; // save current cursor position, save screen
70}
71std::string Term::screen_load()
72{
73 return "\033[?1049l\0338"; // restores screen, restore current cursor position

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected