summaryrefslogtreecommitdiff
path: root/src/misc.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-04-16 00:07:33 +0100
committerSadie Powell <sadie@witchery.services>2025-04-16 00:07:33 +0100
commit3e696fae0f30e12b13c0e932d022ce4b7427c3c8 (patch)
tree4cc6245d8ec9ee344eef22866204249eebf089fe /src/misc.cpp
parentce362854a39c35249f8d2c7bcf27e3d5f9aa9980 (diff)
Reduce the maximum line length from 120 to 100.
This should fit on user screens a bit better.
Diffstat (limited to 'src/misc.cpp')
-rw-r--r--src/misc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc.cpp b/src/misc.cpp
index 0a6a38488..97b9d0604 100644
--- a/src/misc.cpp
+++ b/src/misc.cpp
@@ -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;