Update index.js

This commit is contained in:
Richie Bendall 2021-04-21 23:19:21 +12:00 committed by GitHub
parent f3669da6b4
commit 07bb6e90f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@ styles.visible = {
const getModelAnsi = (model, level, type, ...arguments_) => {
level = levelMapping[level];
if (model === 'rgb') {
if (level === 'ansi16m') {
return ansiStyles[type].ansi16m(...arguments_);