Commit e0342e73 authored by yann300's avatar yann300

add default mode (Terminal)

parent e3a69b6a
...@@ -343,7 +343,7 @@ class Terminal { ...@@ -343,7 +343,7 @@ class Terminal {
} }
_blocksRenderer (mode) { _blocksRenderer (mode) {
var self = this var self = this
var modes = { log: true, info: true, error: true } var modes = { log: true, info: true, error: true, default: true }
if (modes[mode]) { if (modes[mode]) {
return function render () { return function render () {
var args = [].slice.call(arguments) var args = [].slice.call(arguments)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment