import { type DialogOptions } from "https://deno.land/x/ayonli_jsext@v0.9.72/dialog/index.ts";
Properties
By default, a GUI dialog is displayed in the browser, and text mode is
used in the terminal. Set this option to true
will force the program
to always display a GUI dialog, even in the terminal.
When in the terminal, the GUI dialog is rendered with the OS's native dialog. If the dialog is failed to display, an error will be thrown.
This option is only functional in Windows
, macOS
and Linux
, it is
ignored in other platforms and the browser.