You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2019. It is now read-only.
For future searches, and this is also a bit of a feature request too.
I think it could be fairly trivial to patch something like this as a boolean, {justify:true}, the harder bit is using the process.stdout.on('resize') event to make this responsive.
Thanks for this amazing tool!
//add this to your constructor settings and your columns will justify base on your headings.
get colWidths(){
let len = (process.stdout.columns / this.head.length);
return this.head.map(heading => Math.floor(len))
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
For future searches, and this is also a bit of a feature request too.
I think it could be fairly trivial to patch something like this as a boolean, {justify:true}, the harder bit is using the process.stdout.on('resize') event to make this responsive.
Thanks for this amazing tool!
The text was updated successfully, but these errors were encountered: