Initialize inline apps before invoking commands
For input commands run without --fullscreen, this branch now skips app.Init() and then calls RunAsync with an uninitialized IApplication. The public ICliCommand.RunAsync contract says commands run after the host initializes Terminal.Gui, and this regresses any custom input command that reads app.Driver/app.Screen or builds views directly before going through InputCommandRunner; those commands only fail in the new inline default path. Set AppModel before initialization, but still initialize before dispatching the command.
Useful? React with 👍 / 👎.
Originally posted by @chatgpt-codex-connector[bot] in #17 (comment)
For input commands run without
--fullscreen, this branch now skipsapp.Init()and then callsRunAsyncwith an uninitializedIApplication. The publicICliCommand.RunAsynccontract says commands run after the host initializes Terminal.Gui, and this regresses any custom input command that readsapp.Driver/app.Screenor builds views directly before going throughInputCommandRunner; those commands only fail in the new inline default path. SetAppModelbefore initialization, but still initialize before dispatching the command.Useful? React with 👍 / 👎.
Originally posted by @chatgpt-codex-connector[bot] in #17 (comment)