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

Truncate long string properties #51

Open
aleclarson opened this issue May 1, 2018 · 1 comment
Open

Truncate long string properties #51

aleclarson opened this issue May 1, 2018 · 1 comment

Comments

@aleclarson
Copy link
Collaborator

When inspecting a table, it sometimes has a property whose value is a long string that fills up the terminal. This is often too noisy. If I wanted to see the entire string, I would inspect that specific property.

Truncation would replace the end of the string with ... (# = 1000). This could be colored so it's clear this isn't the string's real value.

What would be a good length for truncation?

@aleclarson
Copy link
Collaborator Author

aleclarson commented May 1, 2018

We may also want to consider doing this for tables with ~100+ properties, but I'm not sure how a user would expand it. At least do it for nested tables, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant