Skip to content

typst does not respect NO_COLOR or TERM #165

Closed

Description

@pedramos

This is what I get from trying to run typst cli under a dumb terminal:

$ ls
doc.pdf		doc.typst
; typst doc.typst
�[0m�[1m�[38;5;9merror�[0m�[1m: unknown variable�[0m
  �[0m�[34m┌─�[0m doc.typst:6:1
  �[0m�[34m│�[0m
�[0m�[34m6�[0m �[0m�[34m│�[0m #�[0m�[31merror�[0m
  �[0m�[34m│�[0m  �[0m�[31m^^^^^�[0m

$ echo $TERM
dumb
$ echo $NO_COLOR
1
$

Version:

$ typst -V
typst b934a2fd

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions