Skip to content

Commit 16e12c9

Browse files
committed
fixed standard log attribute in hahsmap
1 parent f6f3f34 commit 16e12c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

consolelog.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ var logColorsDefaults = {
6262
};
6363

6464
var logAttrs = {
65-
"standard" : tc.attrs.DEFAULT,
65+
"standard" : tc.attrs.RESET,
6666
"info" : tc.attrs.BRIGHT,
6767
"warn" : tc.attrs.BRIGHT,
6868
"error" : tc.attrs.BRIGHT
6969
};
7070

7171
var logAttrsDefaults = {
72-
"standard" : tc.attrs.DEFAULT,
72+
"standard" : tc.attrs.RESET,
7373
"info" : tc.attrs.BRIGHT,
7474
"warn" : tc.attrs.BRIGHT,
7575
"error" : tc.attrs.BRIGHT
@@ -191,7 +191,7 @@ var cleanmsg = function(msg) {
191191

192192
var dolog = function(type, msg, color, bg, attr) {
193193
msg = cleanmsg(msg);
194-
tc.terminalSetFontAttr(tc.attrs.RESET);
194+
tc.terminalFontReset();
195195
tc.terminalSetFont(color, bg, attr);
196196
var prefix, postfix;
197197
if (typeof dodads[type + "_prefix"] == "function") {

0 commit comments

Comments
 (0)