Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal colorization not properly ended #46

Open
joshlf opened this issue Aug 21, 2018 · 2 comments
Open

Terminal colorization not properly ended #46

joshlf opened this issue Aug 21, 2018 · 2 comments
Labels
bug Something isn't working P-High

Comments

@joshlf
Copy link

joshlf commented Aug 21, 2018

On this function:

pub fn copy(src: &[u8], dst: &mut [u8]) {
    assert!(src.len() == dst.len());
    for i in 0..src.len() {
        dst[i] = src[i];
    }
}

I get output that looks like this in Terminal.app on Mac. In particular, note that cargo asm didn't properly reset the terminal color after setting it to red on the last line.

screen shot 2018-08-20 at 5 50 57 pm

@gnzlbg
Copy link
Owner

gnzlbg commented Aug 21, 2018

Thanks for the report! I'll look into this, shouldn't be hard to fix.

@joshlf
Copy link
Author

joshlf commented Aug 21, 2018

np!

@gnzlbg gnzlbg added P-High bug Something isn't working labels Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P-High
Projects
None yet
Development

No branches or pull requests

2 participants