Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 'no matches found' parity #73

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

evaneliasyoung
Copy link
Contributor

This resolves #72
Using std.io.BufferedWriter is a first step in output parity as it allows for color support detection.

@evaneliasyoung evaneliasyoung changed the title Fix/no pkgs parity Fix 'no matches found' parity Jan 21, 2025
var bw = std.io.BufferedWriter(8 * 1024, std.fs.File.Writer){ .unbuffered_writer = stdout.writer() };
defer stdout.close();

const colorConfig = std.io.tty.detectConfig(stdout);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be created only once needed right (I think it makes a syscall on windows)?

@shilangyu
Copy link
Owner

Sorry for the delay, I had an exam session

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.

No matching packages output difference
2 participants