Available on hl
These are the bindings for the HL ui.hdll library, which contains some low level system access.
ui.hdll
@:hlNative("ui","ui_close_console")staticcloseConsole():Void
staticdialog(title:String, text:String, flags:EnumFlags<DialogFlags>):Void
staticloadFile(opts:FileOptions):Null<String>
@:hlNative("ui","ui_loop")staticloop(blocking:Bool):LoopResult
staticsaveFile(opts:FileOptions):Null<String>
@:hlNative("ui","ui_stop_loop")staticstopLoop():Void