1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 15:13:13 +02:00

Reduce the maximum line length from 120 to 100.

This should fit on user screens a bit better.
This commit is contained in:
Sadie Powell
2025-04-16 00:07:33 +01:00
parent ce362854a3
commit 3e696fae0f
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -160,7 +160,7 @@ void ListFormatter::Process(std::vector<Anope::string> &buffer)
lengths[column] = entry[column].length();
}
}
const auto max_length = Config->GetBlock("options").Get<size_t>("linelength", "120");
const auto max_length = Config->GetBlock("options").Get<size_t>("linelength", "100");
unsigned total_length = 0;
for (const auto &[column, length] : lengths)
{
@@ -281,7 +281,7 @@ bool TextSplitter::GetLine(Anope::string &out)
out.append(fmt);
// The maximum length of a line.
const auto max_length = Config->GetBlock("options").Get<size_t>("linelength", "120");
const auto max_length = Config->GetBlock("options").Get<size_t>("linelength", "100");
// The current printable length of the output.
size_t current_length = 0;