Skip to content

Add a pager to evaluation result #495

@nickjer

Description

@nickjer

Description

Currently when IRB outputs something with a large amount of data such as MyRecord.all in Rails it will pause for a long time and then dump everything to the screen at once. This can be a bit of a pain when coming from Pry where it comes with a pager that will instantly return and allow the user to navigate around in the data.

You can reproduce this wait with...

> [1] * 1_000_000

I was wondering if IRB could add a pager similar to Pry. If so, I'd be happy to explore it but also don't want to step on any toes if this is a no go.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions