Only set buffer type to stdout when no file args are passed#3910
Merged
JoeKar merged 4 commits intomicro-editor:masterfrom Dec 7, 2025
Merged
Only set buffer type to stdout when no file args are passed#3910JoeKar merged 4 commits intomicro-editor:masterfrom
JoeKar merged 4 commits intomicro-editor:masterfrom
Conversation
JoeKar
reviewed
Nov 13, 2025
aa1a59f to
2f46263
Compare
JoeKar
approved these changes
Nov 17, 2025
dmaluka
reviewed
Nov 30, 2025
…ly distinct . . . but functionally equivalent.
3f77f69 to
4debd29
Compare
JoeKar
reviewed
Dec 1, 2025
Move input and err variable declarations to their usage point.
dmaluka
approved these changes
Dec 3, 2025
JoeKar
approved these changes
Dec 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2600
I personally encounter the problem when using broot and ZLE functions in Zsh, where micro detects it's not a standard terminal IO situation, yet a real file is being edited. In this case I want to be able to save the file being edited, and I don't want the file content dumped to stdout.