Skip to content

Disable sudo save prompt on Windows#3866

Merged
JoeKar merged 2 commits intomicro-editor:masterfrom
niten94:hide-sudo-prompt-win
Sep 21, 2025
Merged

Disable sudo save prompt on Windows#3866
JoeKar merged 2 commits intomicro-editor:masterfrom
niten94:hide-sudo-prompt-win

Conversation

@niten94
Copy link
Contributor

@niten94 niten94 commented Sep 20, 2025

It's currently unlikely that saving with sudo will be supported on Windows, since it seems like undocumented APIs are needed to use sudo in the way Micro expects it to work. In addition to another small change, this pull request only skips the sudo prompt on save.

Related: #3541, #3781

Display message stating that saving with sudo is unsupported on Windows,
immediately without a prompt when permission is denied.
@JoeKar JoeKar merged commit ec8bb7c into micro-editor:master Sep 21, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants