mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 15:51:15 -03:00
builtin set_color: remove redundant condition
This commit is contained in:
@@ -113,7 +113,7 @@ pub fn set_color(parser: &Parser, streams: &mut IoStreams, argv: &mut [&wstr]) -
|
||||
|
||||
let mut outp = Outputter::new_buffering();
|
||||
outp.set_text_face(TextFace::new(Color::None, Color::None, style));
|
||||
if bgcolor.is_some() && bg.is_normal() {
|
||||
if bg.is_normal() {
|
||||
outp.write_command(ExitAttributeMode);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user