Refactor Init method across all frontends to include argc and argv for improved argument handling consistency.

This commit is contained in:
2026-01-12 10:35:24 -08:00
parent 6eb240a0c4
commit 8634eb78f0
10 changed files with 21 additions and 17 deletions

View File

@@ -4,8 +4,10 @@
bool
TestFrontend::Init(Editor &ed)
TestFrontend::Init(int &argc, char **argv, Editor &ed)
{
(void) argc;
(void) argv;
ed.SetDimensions(24, 80);
return true;
}
@@ -30,4 +32,4 @@ TestFrontend::Step(Editor &ed, bool &running)
void
TestFrontend::Shutdown() {}
TestFrontend::Shutdown() {}