Skip to content

Commit

Permalink
Rename the option "-p seq2gif" to "-p solarized"
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Aug 23, 2020
1 parent 024dc48 commit 08aff7a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions color.c
Expand Up @@ -66,8 +66,8 @@ uint32_t color_list[256] = {
/*
ANSI colors
Original seq2gif values
- palette16_seq2gif
Original seq2gif colors
- palette16_solarized
Taken from http://en.wikipedia.org/wiki/ANSI_escape_code
- palette16_standard_vga Standard VGA colors
Expand All @@ -88,7 +88,7 @@ uint32_t color_list[256] = {
- palette16_rosaterm
*/

static const uint32_t palette16_seq2gif[16] = {
static const uint32_t palette16_solarized[16] = {
0x262626, 0xd70000, 0x5f8700, 0xaf8700, 0x0087ff, 0xaf005f, 0x0087ff, 0xe4e4e4,
0x1c1c1c, 0xd75f00, 0x585858, 0x626262, 0x808080, 0x5f5faf, 0x8a8a8a, 0xffffd7,
};
Expand Down Expand Up @@ -170,8 +170,8 @@ const uint32_t* color_parse_palette16(const char* name) {
return palette16_mirc;
else if (strcmp(name, "xterm") == 0)
return palette16_xterm;
else if (strcmp(name, "seq2gif") == 0)
return palette16_seq2gif;
else if (strcmp(name, "solarized") == 0)
return palette16_solarized;
else if (strcmp(name, "ubuntu") == 0)
return palette16_ubuntu;
else
Expand Down
2 changes: 1 addition & 1 deletion main.c
Expand Up @@ -252,7 +252,7 @@ static void show_help()
" first 16 colors. NAME is one of the\n"
" following names: 'vga', 'cmd', 'win',\n"
" 'powershell', 'app', 'putty', 'mirc',\n"
" 'xterm', 'ubuntu', and 'seq2gif'.\n"
" 'xterm', 'ubuntu', and 'solarized'.\n"
" (default: 'vga').\n"
);
}
Expand Down

0 comments on commit 08aff7a

Please sign in to comment.