Skip to content

Colors do not work properly in an electron renderer process #15

@robgonnella

Description

@robgonnella

Steps to reproduce:

const Logger = require('logplease');
const log = Logger.create('[example]');
log.info('Colors should renderer properly in electron browser window');
  • open main.js and uncomment the line that says mainWindow.webContents.openDevTools()
  • npm install
  • npm start

Expected:
Log should have appropriate colors

Actual:
Log appears to be trying to use terminal style colors

screen shot 2018-07-22 at 8 17 29 pm

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