Help, WelcomeUser, WorkingSet
3 4 5
# File 'lib/view/base.rb', line 3 def stdscr Ncurses.stdscr end
7 8 9 10 11
# File 'lib/view/base.rb', line 7 def with_color(window, name) window.attron Ncurses.COLOR_PAIR(Colors[name][:number]) yield if block_given? window.attroff Ncurses.COLOR_PAIR(Colors[name][:number]) end