diff options
| author | Paul Oliver <contact@pauloliver.dev> | 2026-02-24 01:33:45 +0100 |
|---|---|---|
| committer | Paul Oliver <contact@pauloliver.dev> | 2026-02-24 01:33:45 +0100 |
| commit | 9f7e70904e6c0fa650323ac5e50ebf6003da333c (patch) | |
| tree | 3015be498d36e8d5c960cf55667c6c825f7de493 /ui/curses/ui_vars.py | |
| parent | 0fb1497a62332e0db45f94b4f195cb37183678cb (diff) | |
Removes usage of Jinja templates
Use CPP to pre-process C files instead
Diffstat (limited to 'ui/curses/ui_vars.py')
| -rw-r--r-- | ui/curses/ui_vars.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/curses/ui_vars.py b/ui/curses/ui_vars.py index 97d2c07..54f62e3 100644 --- a/ui/curses/ui_vars.py +++ b/ui/curses/ui_vars.py @@ -1,5 +1,5 @@ -def gen_ui_vars(_): - return { - "flags": ["-lncurses", "-DNCURSES_WIDECHAR=1"], - "includes": ["curses.h", "locale.h", "time.h"], - } +class UIVars: + def __init__(self, _): + self.includes = {"curses.h", "locale.h", "time.h"} + self.defines = {"-DNCURSES_WIDECHAR=1"} + self.links = {"-lncurses"} |
