mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 13:22:52 +02:00
Formatting
- Cleaned up code style
This commit is contained in:
parent
927d10abff
commit
0296cc333c
@ -117,7 +117,7 @@ public string setForegroundBackground(string fg, string bg)
|
||||
throw new BirchwoodException(ErrorType.INVALID_FORMATTING, "Invalid color code (must be either two ASCII digits or a hexadecimal code of the form RRGGBB)");
|
||||
}
|
||||
|
||||
return control_char.idup ~ fg ~ "," ~ bg;
|
||||
return control_char.idup~fg~","~bg;
|
||||
}
|
||||
|
||||
// Generates a string that changes the foreground color (except enum)
|
||||
@ -131,7 +131,7 @@ string set_foreground(SimpleColor color)
|
||||
pragma(inline)
|
||||
string set_foreground_background(SimpleColor fg, SimpleColor bg)
|
||||
{
|
||||
return ascii_color_code ~ fg ~ "," ~ bg;
|
||||
return ascii_color_code~fg~","~ bg;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user