lib/helpline/curses.rb in helpline-0.1.14 vs lib/helpline/curses.rb in helpline-0.1.15

- old
+ new

@@ -103,7 +103,14 @@ print s print "\e[0m" @x += s.length end + def Curses.print_bold(s) + print "\e[0m" + print "\e[1m" + print s + print "\e[0m" + @x += s.length + end end