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

toot timeline gets number of terminal lines wrong #422

Open
strk opened this issue Nov 25, 2023 · 2 comments
Open

toot timeline gets number of terminal lines wrong #422

strk opened this issue Nov 25, 2023 · 2 comments

Comments

@strk
Copy link
Contributor

strk commented Nov 25, 2023

typing toot timeline dumps many posts/toots to the terminal and at the end asks me if I want to continue, but not all the posts printed are visible in my terminal and I have to scroll the terminal backlog to see them all. I suppose that's not intentional and is the effect of a wrong detection of the number of lines in the terminal OR of the number of lines in the posts

@danschwarz
Copy link
Collaborator

It's currently written to pause after --count status messages (default: 10) without regard to screen rows. I agree it's annoying and should default to displaying MAX(1, # of statuses that fit on a screen) per prompt. How much of a hassle to implement? I'll have a look 🤷‍♂️

@strk
Copy link
Contributor Author

strk commented Dec 6, 2023

an alternative could be to pass the timeline to a pager, like it happens with git log, for example.
My own piping to less results in loss of colors which maybe needs another ticket to improve (ie: jq has -c switch to retain colors while using less)

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