Supports to default ANSII styles

This commit is contained in:
Samuel ROZE 2015-03-31 14:55:54 +02:00
parent aa3eeda9b8
commit d69494163a

View file

@ -29,6 +29,8 @@ if(typeof(Drone) === 'undefined') { Drone = {}; }
switch (code) {
case 'm':
case '0m':
case '39m':
case '49m':
var len = this.styles.length;
for (var i=0; i < len; i++) {
this.styles.pop();