equal
deleted
inserted
replaced
164 public void println(TerminalColor foregroundColor, TerminalStyle style, String string) { |
164 public void println(TerminalColor foregroundColor, TerminalStyle style, String string) { |
165 print(foregroundColor, style, string); |
165 print(foregroundColor, style, string); |
166 println(); |
166 println(); |
167 } |
167 } |
168 |
168 |
|
169 public void print(EnumSet<TerminalStyle> styles, String string) { |
|
170 setStyle(styles); |
|
171 print(string); |
|
172 resetAll(); |
|
173 } |
|
174 |
|
175 public void println(EnumSet<TerminalStyle> styles, String string) { |
|
176 print(styles, string); |
|
177 println(); |
|
178 } |
|
179 |
|
180 public void print(TerminalStyle style, String string) { |
|
181 print(EnumSet.of(style), string); |
|
182 } |
|
183 |
|
184 public void println(TerminalStyle style, String string) { |
|
185 print(style, string); |
|
186 println(); |
|
187 } |
|
188 |
169 public void resetAll() { |
189 public void resetAll() { |
170 printCodes(0); |
190 printCodes(0); |
171 } |
191 } |
172 |
192 |
173 private void printCodes(int... codes) { |
193 private void printCodes(int... codes) { |