Browse Source

Decrease color range

Colors 8 and 9 have no effect
DricomDragon 5 years ago
parent
commit
b9cef2ced7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      colors/main.cpp

+ 1 - 1
colors/main.cpp

@@ -31,7 +31,7 @@ int main() {
 	cout << endl << "Loop combinations" << endl;
 	for (int cat(0) ; cat <= 8 ; cat ++) {
 		for (int kind(3) ; kind <= 4 ; kind ++) {
-			for (int color(0); color <= 9; color ++) {
+			for (int color(0); color <= 7; color ++) {
 				cout << cat << ';' << kind << color << endl;
 				cout << "\033[" << cat << ';' << kind << color << 'm';
 				cout << "Sample #|!0123456789AaBbCc";