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

Add pagination support or helping out to connect with less -R and have colors survive #11

Open
fperez opened this issue Apr 14, 2021 · 2 comments

Comments

@fperez
Copy link

fperez commented Apr 14, 2021

I'm finding that even if I use less -R, when paginating jut's output I lose color highlights, not sure why... But given that your typical notebook document is long-ish, I would suggest adding pagination support less-Style, if it's not too hard...

Alternatively, figure out a way if possible to make it so coloring survives through less, which would save you from having to reimplement less's features (I'm sure if you add pagination, people will then want search, regexes, etc, and you'd end up having to reinvent less itself :)

@kracekumar
Copy link
Owner

Yes, this is due to rich way of handling the color. I haven't gotten my head around it. Will look at the ways to handle the color.

Regarding the search, I intend to support filter the cells by type(#4) and by search term(#2).

thanks for the suggestion :-)

@punchagan
Copy link

punchagan commented May 28, 2021

@fperez There was a --force-colors option added in 8783d21 which should make jut play well with less -R. :)

This is already included in a release, so you won't need to install jut from the git repo.

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

3 participants