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

Implement support for flexible table layouts.

This commit is contained in:
Sadie Powell
2025-09-19 18:50:27 +01:00
parent ac2b38b1b6
commit 54389f474b
34 changed files with 587 additions and 38 deletions
+2 -1
View File
@@ -441,9 +441,10 @@ public:
{
unsigned counter = 0;
unsigned display_counter = 0, listmax = Config->GetModule(this->owner).Get<unsigned>("listmax");
ListFormatter list(source.GetAccount());
ListFormatter list(source.GetAccount());
list.AddColumn(_("Number")).AddColumn(_("Nick")).AddColumn(_("VHost")).AddColumn(_("Created"));
list.SetFlexible(_("{number}: \002{nick}\002 = {vhost} -- created by {creator} at {created}"));
for (const auto &[nick, na] : *NickAliasList)
{