Skip to content

Commit

Permalink
engine: add footer labels for the color list for the command /colors.
Browse files Browse the repository at this point in the history
  • Loading branch information
dGr8LookinSparky committed Mar 28, 2020
1 parent 1e92598 commit 2d22663
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/qcommon/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@ void Com_Colors_f(void) {
Com_Printf("^7\n");
}

Com_Printf("\n^3 %-20s %-6s %-20s %-6s^7\n\n", "Color", "Code", "Color", "Code");

Com_Printf("\n^3To escape from the color code escape and print ^5^^^3 as and ordinary character, use ^5^^^^^3.\n\n");
Com_Printf("^3The format for the hardcoded standard color codes is ^5^^x^3, where x is alphanumeric (^7[^50-9^7][^5a-z^7][^5A-Z^7]^3).\n\n");
Com_Printf("^3The short format for custom hexadecimal defined color codes is ^5^^#xxx^3, where x is a hexadecimal (^7[^50-9^7][^5a-f^7][^5A-F^7]^3).\n\n");
Expand Down

0 comments on commit 2d22663

Please sign in to comment.