mirror of
https://github.com/harness/drone.git
synced 2025-05-31 11:43:15 +00:00
Supports to default ANSII styles
This commit is contained in:
parent
aa3eeda9b8
commit
d69494163a
@ -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…
x
Reference in New Issue
Block a user