diff --git a/cgi.d b/cgi.d index e7cc76a..25ed728 100644 --- a/cgi.d +++ b/cgi.d @@ -10130,8 +10130,10 @@ q"css ol.automatic-data-display { margin: 0px; + /* list-style-position: inside; padding: 0px; + */ } dl.automatic-data-display { diff --git a/minigui.d b/minigui.d index a3c4a15..614e925 100644 --- a/minigui.d +++ b/minigui.d @@ -132,8 +132,11 @@ the virtual functions remain as the default calculated values. then the reads go layout engine tries to automatically fit things in, similar to a css flexbox. FOR BEST RESULTS: be sure to link with the appropriate subsystem command - `-L/SUBSYSTEM:WINDOWS:5.0`, for example, because otherwise you'll get a - console and other visual bugs. + `-L/SUBSYSTEM:WINDOWS` and -L/entry:mainCRTStartup`. If using ldc instead + of dmd, use `-L/entry:wmainCRTStartup` instead of `mainCRTStartup`; note the "w". + + Otherwise you'll get a console and possibly other visual bugs. But if you do use + the subsystem:windows, note that Phobos' writeln will crash the program! HTML_To_Classes: $(SMALL_TABLE @@ -9397,7 +9400,7 @@ private class TableViewWidgetInner : Widget { override void registerMovement() { super.registerMovement(); - // FIXME: actual column width. it might need to be done per-pixel instead of per-colum + // FIXME: actual column width. it might need to be done per-pixel instead of per-column smw.setViewableArea(this.width, this.height / lh); } diff --git a/terminal.d b/terminal.d index ba1f8ea..0578971 100644 --- a/terminal.d +++ b/terminal.d @@ -9579,6 +9579,14 @@ auto SdpyIntegratedKeys(SimpleWindow)(SimpleWindow window) { static import sdpy = arsd.simpledisplay; Terminal* terminal; RealTimeConsoleInput* rtti; + + // FIXME hack to work around bug in opend compiler (i think) + version(D_OpenD) + alias mutableRefInit = imported!"core.attribute".mutableRefInit; + else + enum mutableRefInit; + + @mutableRefInit typeof(RealTimeConsoleInput.init.integrateWithSimpleDisplayEventLoop(null)) listener; this(sdpy.SimpleWindow window) { terminal = new Terminal(ConsoleOutputType.linear);