Merge pull request #943 from sroze/ansii-2.53
Supports "to default" ANSII styles
This commit is contained in:
commit
0770e83662
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue