Skip to content

Commit ae94d23

Browse files
committed
change color of number in README.md example
1 parent ba0cd1d commit ae94d23

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ CPP_DUMP_SET_OPTION(es_value, (cp::types::es_value_t{
159159
"\x1b[02m", // log: dark
160160
"\x1b[34m", // expression: blue
161161
"\x1b[38;5;39m", // reserved: light blue
162-
"\x1b[38;5;193m", // number: light green
162+
"\x1b[38;5;150m", // number: light green
163163
"\x1b[38;5;172m", // character: orange
164164
"\x1b[38;5;220m", // escaped_char: light orange
165165
"\x1b[02m", // op: dark

readme/customizable-colors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ int main() {
2323
"\x1b[02m", // log: dark
2424
"\x1b[34m", // expression: blue
2525
"\x1b[38;5;39m", // reserved: light blue
26-
"\x1b[38;5;193m", // number: light green
26+
"\x1b[38;5;150m", // number: light green
2727
"\x1b[38;5;172m", // character: orange
2828
"\x1b[38;5;220m", // escaped_char: light orange
2929
"\x1b[02m", // op: dark

readme/customizable-colors.png

-47 Bytes
Loading
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
11

22
// Basic Type
3-
[dump] false => false, 0 => 0, 0.0 => 0.000000
4-
[dump] true => true, 3.14 => 3.140000, my_int => 15, -9265 => -9265
3+
[dump] false => false, 0 => 0, 0.0 => 0.000000
4+
[dump] true => true, 3.14 => 3.140000, my_int => 15, -9265 => -9265
55
[dump] "This is a string." => "This is a string.", 'a' => 'a', '\n' => '\n'
6-
[dump] ptr => *15, void_ptr => 0x7fffffffffff, nullptr => nullptr
6+
[dump] ptr => *15, void_ptr => 0x7fffffffffff, nullptr => nullptr
77

88
// Container
99
[dump] my_vector => [
10-
[ 3, 5, 8, 9, 7 ],
11-
[ 9, 3, 2, 3, 8 ]
10+
[ 3, 5, 8, 9, 7 ],
11+
[ 9, 3, 2, 3, 8 ]
1212
]
1313

1414
// Set/Map
1515
[dump] my_set => { 'A', 'e', 'l', 'p' }
16-
[dump] my_map => { 2: 6, 4: 6, 5: 3 }
16+
[dump] my_map => { 2: 6, 4: 6, 5: 3 }
1717

1818
// Multiset/Multimap
1919
[dump] my_multiset => { 'A' (1), 'e' (1), 'l' (1), 'p' (2) }
2020
[dump] my_multimap => {
21-
2 (1): [ 4 ],
22-
4 (2): [ 6, 7 ],
23-
5 (1): [ 3 ]
21+
2 (1): [ 4 ],
22+
4 (2): [ 6, 7 ],
23+
5 (1): [ 3 ]
2424
}
2525

2626
// Tuple
27-
[dump] my_tuple => ( 7, 4.500000, "This is a string." )
28-
[dump] my_pair => ( 8, 'a' )
27+
[dump] my_tuple => ( 7, 4.500000, "This is a string." )
28+
[dump] my_pair => ( 8, 'a' )
2929

3030
// FIFO/LIFO
31-
[dump] my_queue => std::queue{ front()= 1, back()= 5, size()= 5 }
32-
[dump] my_priority_queue => std::priority_queue{ top()= 5, size()= 5 }
33-
[dump] my_stack => std::stack{ top()= 5, size()= 5 }
31+
[dump] my_queue => std::queue{ front()= 1, back()= 5, size()= 5 }
32+
[dump] my_priority_queue => std::priority_queue{ top()= 5, size()= 5 }
33+
[dump] my_stack => std::stack{ top()= 5, size()= 5 }
3434

3535
// Other
3636
[dump] my_bitset => 0b 0011 1010
37-
[dump] my_complex => 1.000000 + 1.000000i ( abs= 1.414214, arg/pi= 0.250000 )
38-
[dump] my_optional => ?15, std::nullopt => std::nullopt
37+
[dump] my_complex => 1.000000 + 1.000000i ( abs= 1.414214, arg/pi= 0.250000 )
38+
[dump] my_optional => ?15, std::nullopt => std::nullopt
3939
[dump] my_variant => |"1"
4040

4141
// Combination
4242
[dump] vector_of_pairs => [
43-
( 1, "apple" ),
44-
( 3, "banana" )
43+
( 1, "apple" ),
44+
( 3, "banana" )
4545
]
4646

0 commit comments

Comments
 (0)