diff options
-rwxr-xr-x | panel.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -96,6 +96,12 @@ class ModText(Mod): buf = Fmt.bg(bg, buf) self.out = buf +class ModCentre(Mod): + def __init__(self, **kwargs): + kwargs.setdefault('spacing', 0) + super().__init__(**kwargs) + self.out = '%{c}' + class ModRight(Mod): def __init__(self, **kwargs): kwargs.setdefault('spacing', 0) |