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

b4 send --dry-run is not compatible with less #55

Open
hrideshmg opened this issue Jan 13, 2025 · 1 comment
Open

b4 send --dry-run is not compatible with less #55

hrideshmg opened this issue Jan 13, 2025 · 1 comment

Comments

@hrideshmg
Copy link

hrideshmg commented Jan 13, 2025

Not sure what's going on here but when i pipe the output of b4 send --dry-run to less and try to scroll, the page goes blank

@blmaier
Copy link
Contributor

blmaier commented Jan 13, 2025

I see this too, calling b4 send --dry-run writes to stderr. The stderr is overwriting less and when you try to scroll less refreshes the screen. You'd need to b4 send --dry-run 2>&1 | less. However it would probably be a good idea for --dry-run to print to stdout.

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

No branches or pull requests

2 participants