MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / PrintWithRightPadding

Function PrintWithRightPadding

Source/diablo.cpp:925–931  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

923}
924
925void PrintWithRightPadding(string_view str, size_t width)
926{
927 printInConsole(str);
928 if (str.size() >= width)
929 return;
930 printInConsole(std::string(width - str.size(), ' '));
931}
932
933void PrintHelpOption(string_view flags, string_view description)
934{

Callers 1

PrintHelpOptionFunction · 0.85

Calls 2

printInConsoleFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected