Skip to content

Commit 4eab393

Browse files
committed
dx(styles): shorten double and single hr width
1 parent db95b12 commit 4eab393

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

styles.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,9 @@ const style = {
113113
return list;
114114
},
115115
hr: {
116-
double: `${'═'.repeat(process.env.COLUMNS - 1 || 80)}`,
117-
single: `${'─'.repeat(process.env.COLUMNS - 1 || 80)}`
116+
double: `${'═'.repeat(process.env.COLUMNS - 10 || 80)}`,
117+
single: `${'─'.repeat(process.env.COLUMNS - 10 || 80)}`,
118+
short: `${'─'.repeat(30)}`
118119
},
119120
color(r,g,b) {
120121
return g === undefined ? `\x1b[38;5;${r}m` : `\x1b[38;2;${r};${g};${b}m`;

0 commit comments

Comments
 (0)