diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-04-30 14:43:01 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-04-30 14:43:01 -0400 |
commit | 3e46301b48aba1ca9c2e4a9228cf591969b20849 (patch) | |
tree | 43ee57111dfd744001192bfc31c25529dc2b71c9 /src/paint.rs | |
parent | 692fb19037fff808d75477bbc3fb0bf933b4dc08 (diff) |
Emit ANSI reset at end of line, after ANSI fill-right instruction
Diffstat (limited to 'src/paint.rs')
-rw-r--r-- | src/paint.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/paint.rs b/src/paint.rs index dc85a8ba..ef88d7d5 100644 --- a/src/paint.rs +++ b/src/paint.rs @@ -145,6 +145,7 @@ impl<'a> Painter<'a> { } output_buffer.push_str(&line); output_buffer.push_str(ANSI_CSI_ERASE_IN_LINE); + output_buffer.push_str(ANSI_SGR_RESET); } else { output_buffer.push_str(&line); } |