Merge pull request #943 from sroze/ansii-2.53

Supports "to default" ANSII styles
This commit is contained in:
Brad Rydzewski 2015-03-31 09:26:10 -07:00
commit 0770e83662

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();