MCPcopy Create free account
hub / github.com/SIPp/sipp / redraw

Method redraw

src/screen.cpp:123–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121
122
123void ScreenPrinter::redraw()
124{
125 if (!M_headless) {
126 get_lines();
127 erase();
128 for (auto line : lines) {
129 printw("%s\n", line.c_str());
130 }
131
132 if (command_mode) {
133 printw("\nCommand: %s", command_buffer ? command_buffer : "");
134 }
135
136 refresh();
137 }
138}
139
140void ScreenPrinter::get_lines()
141{

Callers 1

print_statisticsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected