magicalraccoon / tootstream

A command line interface for interacting with Mastodon instances
MIT License
259 stars 32 forks source link

Scrollback for streamed TLs #141

Open mcrosson opened 6 years ago

mcrosson commented 6 years ago

Would it be possible to implement a scrollback similar to what other CLI tools provide? It'd be very handy to be able to 'scroll back' to mark where I left off and then pickup where I left off.

Maybe provide a config option to limit the number of toots/notifications in the scrollback to help this be tuned for individual systems?

For example: In the web UI when I'm about to walk away from my computer I scroll backwards through a timeline so any new toots get queued up in the column in the browser. When I get back to my computer I start scrolling back through the toots that were seen by my browser when I left it to run.

Kind of like a pause/resume sort of thing to ease tracking a given timeline (home/notif/federated/local) a bit easier.

craigmaloney commented 6 years ago

Wondering if pagination might be good overall for things like lists of results and what-not.

Not sure how to implement this, but it has some merit.

Which CLI tools do you know of that have pagination for streaming output? The only ones I can think of paginate after sending a command.

craigmaloney commented 6 years ago

Might be resolved through #174