-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Allow border to be optional. #84
Comments
#88 is a good step forward, but I'm not sure it fully completes this issue. // boxen@7.1.0
const result = boxen('toxic', { borderStyle: 'none', padding: 0, margin: 0 });
console.log(result.split('\n'));
//=> [ '', 'toxic', '' ] When
Thoughts? |
Similarly, const text = 'toxic';
const result = boxen(text, { borderStyle: 'none', width: text.length });
console.log(result.split('\n'));
//=> [ '', 'tox', 'ic, '' ] |
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This tool has a lot of great features for creating boxes, and some of those features would be nice on their own. For instance, fullscreen would be great in some cases even without a border.
My use case, however, incorporates boxen into another utility. In order to achieve "no border", I have given boxen a "ghost border" which I strip after boxen's done working.
The text was updated successfully, but these errors were encountered: