Skip to content

We don't properly render ANSI escape codes for commands in chat #441

@jonathanlab

Description

@jonathanlab
Image

These should have been coloured.

But instead, arr log is rendered as:

�[32m◉�[0m  �[1;94m(working copy)�[0m �[2m(�[0m�[32m+4�[0m�[2m, �[0m�[31m-9�[0m�[2m, �[0m�[2m1 file�[0m�[2m)�[0m
│  �[2m1 minute ago�[0m
│
│  �[1;94m38d�[0m�[38;5;8m09728aa62�[0m �[2m- (no description)�[0m
│  �[36marr create�[0m �[2m"message"�[0m �[2mto save as new change�[0m
│  �[36marr modify�[0m �[2mto update 01-09-sequential-merge-and-track-pr-linking�[0m
│
│
│ ◯  �[1;94m01-09-sequential-merge-and-track-pr-linking�[0m �[38;5;5mmx�[38;5;8mqpmnxlxuzq�[0m
├─╯  �[2m15 minutes ago�[0m
│
│    �[32mPR #439�[0m �[2m(Open)�[0m feat(arr): sequential merge and track pr linking
│    �[36mhttps://github.com/PostHog/Array/pull/439�[0m
│    �[1;94md9�[0m�[38;5;8m5c883bea15�[0m �[2m- sequential merge and track pr linking�[0m
│
│
◯  �[1;94mmain�[0m
│  �[2m32 minutes ago�[0m
│
│  �[1;94m86�[0m�[38;5;8m3ca519e442�[0m �[2m- feat: Rest of the core/cli (#436)�[0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions