Examples/InlineCLI/README.md
Demonstrates Terminal.Gui's Inline rendering mode, which renders UI inline within the primary (scrollback) terminal buffer instead of switching to the alternate screen buffer.
Setting Application.AppModel = AppModel.Inline before calling Init() tells
Terminal.Gui to:
CSI ?1049h is emitted.CSI ?1049l is emitted; the shell prompt appears
naturally below the rendered content, which stays in scrollback history.dotnet run --project Examples/InlineCLI
// Set Inline mode BEFORE Init
Application.AppModel = AppModel.Inline;
IApplication app = Application.Create ().Init ();
app.Run<MyView> ();
app.Dispose ();
This mode is inspired by tools like: