Skip to content

First color code is wrong #31

@unphased

Description

@unphased
$ node -e 'var inspect = require("eyes").inspector({ stream: null }); console.log(inspect({ something: 42 }));' | xxd 
0000000: 7b20 1b5b 316d 736f 6d65 7468 696e 671b  { .[1msomething.                                                    
0000010: 5b32 326d 3a20 1b5b 3335 6d34 321b 5b33  [22m: .[35m42.[3                                                    
0000020: 366d 207d 1b5b 3339 6d0a                 6m }.[39m.                                                          

There ought to be a \x1b[36m to start off the output. But it just starts off with the open curly bracket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions