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>):Bool
staticgetClipboardText():String
staticloadFile(opts:FileOptions):Null<Null<String>>
@:hlNative("ui","ui_loop")staticloop(blocking:Bool):LoopResult
staticsaveFile(opts:FileOptions):Null<Null<String>>
staticsetClipboardText(text:String):Bool
@:hlNative("ui","ui_stop_loop")staticstopLoop():Void