MCPcopy Create free account
hub / github.com/DFHack/dfhack / reset_color

Method reset_color

library/Console-posix.cpp:343–348  ·  view source on GitHub ↗

Reset color to default

Source from the content-addressed store, hash-verified

341 }
342 /// Reset color to default
343 void reset_color(void)
344 {
345 color(COLOR_RESET);
346 if(!rawmode)
347 fflush(dfout_C);
348 }
349 /// Enable or disable the caret/cursor
350 void cursor(bool enable = true)
351 {

Callers 1

shutdownMethod · 0.45

Calls 1

colorFunction · 0.50

Tested by

no test coverage detected