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

Gets stuck in case of "pre-pagerized" help pages #9

Closed
seqizz opened this issue Mar 14, 2023 · 1 comment
Closed

Gets stuck in case of "pre-pagerized" help pages #9

seqizz opened this issue Mar 14, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@seqizz
Copy link

seqizz commented Mar 14, 2023

Describe the bug

Some apps might try to show their help pages with a pager already. Might want to pipe it to "cat" or call it in a way that the app doesn't think it's an interactive terminal.

To reproduce

  1. Find a weird app (nix)
  2. Call halp for it

Expected behavior

Seeing help page

Screenshots / Logs

~> ~/Downloads/halp-0.1.2/halp nix
(°ロ°)  checking 'nix -v'
(×﹏×)      fail '-v' argument not found.
(°ロ°)  checking 'nix -V'
(×﹏×)      fail '-V' argument not found.
(°ロ°)  checking 'nix --version'
\(^ヮ^)/ success '--version' argument found!
nix (Nix) 2.11.1
(°ロ°)  checking 'nix -h'
(×﹏×)      fail '-h' argument not found.
(°ロ°)  checking 'nix --help'
... stuck here :)
^C
Session terminated, killing shell...

Software information

  • Operating system: NixOS 22.11
  • Rust version: (not relevant I assume, this is prebuilt version from releases page)
  • Project version: 0.1.2

Additional context

Thanks for the app, looks like a nice candidate as a life saver.

@seqizz seqizz added the bug Something isn't working label Mar 14, 2023
@orhun
Copy link
Owner

orhun commented Mar 16, 2023

Thanks for reporting this! It is now fixed in 0917065

rec_20230316T042119

I will cut a new release shortly. 🐻

@orhun orhun closed this as completed Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants