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

Return the number of data rows printed when rendering #192

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

WestleyK
Copy link

It does not look like this will be merged anytime soon. But hopefully this will help encourage someone to look though all the open pull requests and merged them to keep this project alive.

In the slight chance that this would be merged, I would like to create unit tests for this feature. LMK if that could happen.

@olekukonko
Copy link
Owner

thank you for the request, can you please state a use case for this and some test would be nice

@WestleyK
Copy link
Author

It has been a long time since I looked at this, actually using a different library now (pterm with custom line paragraph splitter/wrapper). But IIRC I wanted to get the exact number of table lines so I can rewrite the table by moving the cursor up N rows, but this automatically wrapped lines so other functions would not work.

The original issue #191 also has information.

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

Successfully merging this pull request may close these issues.

How to get the table rows?
3 participants