On Friday, 9 September 2016 at 11:21:07 UTC, Vadim Lopatin wrote:
Now it's possible to build DlangUI apps to run in console
When DlangUI is built with version=USE_CONSOLE (dub
subconfiguration "console" for dlangui library) - it works in
Such feature may be useful, e.g. to run apps on headless
devices, or via SSH.
For simple apps, it's enough just to specify dlangui
configuration console. No additional changes required.
If custom themes are used, additional theme files prefixed with
"console_" are to be created.
If custom embedded resources are used, create additional
resource list file, with "console_" prefix.
Margins, padding, size values if specified in pixels are to be
Hint: use points or EMs for such values to get them working
universally on both console and GUI.
If images/icons are used, and still needed in console mode, you
may need to create ASCII art like text image files (.tim
Screenshot of DlangIDE working in console: