lib/ruco/style_map.rb in ruco-0.1.12 vs lib/ruco/style_map.rb in ruco-0.1.13

- old
+ new

@@ -98,19 +98,9 @@ end build[-1] << buffered + content build end - STYLES = { - :normal => 0, - :reverse => Curses::A_REVERSE - } - - def self.curses_style(style) - return 0 unless style - STYLES[style] or raise("Unknown style #{style.inspect}") - end - def self.single_line_reversed(columns) map = StyleMap.new(1) map.add(:reverse, 0, 0...columns) map end