MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / WriteHistory

Method WriteHistory

PanzerChasm/console.cpp:247–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247void Console::WriteHistory()
248{
249 history_[ next_history_line_index_ ]= input_line_;
250 next_history_line_index_= ( next_history_line_index_ + 1u ) % c_max_history;
251 history_size_++;
252 current_history_line_= 0u;
253}
254
255void Console::CopyLineFromHistory()
256{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected