From 1f854e81bdb08fce09673346e5a4b1449a5e3a71 Mon Sep 17 00:00:00 2001 From: Alexandr Evstigneev Date: Wed, 10 Oct 2018 14:10:03 +0300 Subject: [PATCH] Proper ansi codes for inverse and reveal code 26 is reserved for proportional spacing as specified in CCITT Recommendation T.61 See ECMA-48 and friends --- lib/ansi/chart.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/ansi/chart.rb b/lib/ansi/chart.rb index ec45422..6d33ccd 100644 --- a/lib/ansi/chart.rb +++ b/lib/ansi/chart.rb @@ -48,11 +48,11 @@ module ANSI :fraktur_off => 23, :underline_off => 24, :blink_off => 25, - :inverse_off => 26, - :positive => 26, - :conceal_off => 27, - :show => 27, - :reveal => 27, + :inverse_off => 27, + :positive => 27, + :conceal_off => 28, + :show => 28, + :reveal => 28, :crossed_off => 29, :crossed_out_off => 29,