We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 124fbe9 commit 991b1b6Copy full SHA for 991b1b6
README.md
@@ -184,6 +184,14 @@ end
184
See [eight_bit_color.rb](lib/super_diff/csi/eight_bit_color.rb)
185
for the list of available colors.
186
187
+You can also completely disable colorized output.
188
+
189
+``` ruby
190
+SuperDiff.configure do |config|
191
+ config.color_enabled = false
192
+end
193
+```
194
195
### Disabling the key
196
197
You can disable the key by changing the following config (default: true):
lib/super_diff/configuration.rb
@@ -10,6 +10,7 @@ class Configuration
10
attr_accessor(
11
:actual_color,
12
:border_color,
13
+ :color_enabled,
14
:diff_elision_enabled,
15
:diff_elision_maximum,
16
:elision_marker_color,
0 commit comments