Skip to content

Mangled output of ANSI escape sequences in v1.11.0 and master branch #56

@eliminmax

Description

@eliminmax

I am sorry that I can't think of a better way to put this, but bfc installed with cargo install --git (tested with both the master branch and tag 1.11.0) mangles the output of a program I wrote.

My program's output should be a mix of ANSI escape sequences and whitespace that look like the following:
image

Instead, I get this:

image

Testing the same code with a different compiler (specifically ebfc from ELFkickers 3.2) and 2 interpreters (beef and one rather slow one I created myself and have not yet released publicly) have the expected output. Additionally, older versions of bfc work as expected. I installed version 1.10.0 with the command cargo install --git https://github.com/Wilfred/bfc.git --tag 1.10.0 and that worked properly.

In case it is helpful, the code for my colortest.bf program is here.

I have an asciinema recording comparing the output of bfc with the other compiler and interpreters which can be viewed here

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