1
0
Fork 0

Clarify choice of wrap-width

This commit is contained in:
krcroft 2020-03-31 10:49:17 -07:00 committed by Patryk Obara
parent 9e086a882e
commit 3df2734b52

View file

@ -46,8 +46,8 @@ void AUTOTYPE::PrintKeys() {
}
// Setup our rows and columns
const size_t console_width = 72;
const size_t columns = console_width / max_length;
const size_t wrap_width = 72; // confortable columns not pushed to the edge
const size_t columns = wrap_width / max_length;
const size_t rows = ceil_udivide(names.size(), columns);
// Build the string output by rows and columns