Browse Source

Restrict style area to sample only

Formatting was wrongly applied across lines before
DricomDragon 5 years ago
parent
commit
7ff68a5b9f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      colors/main.cpp

+ 2 - 1
colors/main.cpp

@@ -34,8 +34,9 @@ int main() {
 			for (int color(0); color <= 9; color ++) {
 				cout << cat << ';' << kind << color << endl;
 				cout << "\033[" << cat << ';' << kind << color << 'm';
-				cout << "Sample #|!0123456789AaBbCc" << endl;
+				cout << "Sample #|!0123456789AaBbCc";
 				resetColor();
+				cout << endl;
 			}
 		}
 	}