Closed alexwkleung closed 3 months ago
If I decide to add native input dialogs, I will start with the macOS implementation.
winit looks like a good library to handle cross-platform windows.
Using native bindings means that I'll be building everything from scratch. Using a library like winit will help mitigate cross-platform issues.
I'll weigh the options once I start the implementation.
It would be nice to add an option for native input box dialogs.
Electron doesn't support prompt in the Dialog API.
A possible option would be to use native OS bindings for Rust (i.e., Cocoa), create a prompt window that has a
NSTextField
, and return the input.Not sure if I want to do this, but having native options are good to have.