We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ed595d commit c720d1fCopy full SHA for c720d1f
lib/logger/src/styles.ts
@@ -27,7 +27,7 @@ export const styles = {
27
info: (string: string): string => styles.infoHighlight(' i ') + ' ' + string,
28
helpHighlight: colours.bgGreen.black,
29
help: (string: string): string => styles.helpHighlight(' ? ') + ' ' + string,
30
- ruler: (): string => styles.dim('─'.repeat(process.stdout.columns / 2)),
+ ruler: (): string => styles.dim('─'.repeat(Math.floor(process.stdout.columns / 2))),
31
box: (string: string, options: Partial<boxen.Options>) =>
32
boxen(string, {
33
borderStyle: 'round',
0 commit comments