-
Notifications
You must be signed in to change notification settings - Fork 86
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
list - minor display issues #114
Comments
I'm not sure, IIRC the reveal cursor was to fix an issue with the progress bar widget. Sure I'll check.
that's on purpose, to avoid having to drop header upon redirection, a |
Oh, OK. I don't think I know of any other programs that do that. I was just saving a list of repos to a file. |
an alternative would be a |
added a generator logic for displaying lists, that's following this algorithm: - yield the format - yield the header (as tuple matching the format) - yield content line by line (as tuple matching the format) and do not display the header when not sending to a tty and do not display the "cursor display" character voodoo when not sending to a tty. fixes #114 Signed-off-by: Guyzmo <[email protected]>
cf attached PR:
and a bit of internal cooking 😉 |
added a generator logic for displaying lists, that's following this algorithm: - yield the format - yield the header (as tuple matching the format) - yield content line by line (as tuple matching the format) and do not display the header when not sending to a tty and do not display the "cursor display" character voodoo when not sending to a tty. fixes #114 Signed-off-by: Guyzmo <[email protected]>
Thanks |
🚧 Features * Gogs (fixes #18) (kudos @pyhedgehog) * certificate pinning (fixes #88) * non-standard http ports (fixes #81) * possibility to use custom SSH address (fixes #107) * .gitconfig in XDG home directory (fixes #95) * .gitconfig's proxy definition support (fixes #105) * automatically grab PR title/body from last commit (fixes #73) 🚒 Bugfixes * refactoring of listings, improved list command (fixes #114) 💄 Cosmetics * Switch to a git tag scheme for versioning (using setuptools-scm) * Updated README with new informations * Added @pyhedgehog to contributors * Updated TODO list Signed-off-by: Guyzmo <[email protected]>
The output of the "list" command has the escape sequence
^[[?25
(reveal cursor) at the end.Is this intentional? If so, please can you disable it when the output is redirected?
The output of the "list -l" command isn't all sent to the same output stream.
The header is send to stderr, the body to stdout.
The text was updated successfully, but these errors were encountered: