cargo-asm icon indicating copy to clipboard operation
cargo-asm copied to clipboard

Terminal colorization not properly ended

Open joshlf opened this issue 7 years ago • 2 comments

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

joshlf avatar Aug 21 '18 00:08 joshlf

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

gnzlbg avatar Aug 21 '18 00:08 gnzlbg

np!

joshlf avatar Aug 21 '18 00:08 joshlf