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