Sha256: 0b9f4b06d313900ac8b804e8de701918f257765a069a110482bf17a7a33d9201

Contents?: true

Size: 300 Bytes

Versions: 4

Compression:

Stored size: 300 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
require_relative '../../lib/ppcurses.rb'

def display_menu
  main_menu = PPCurses::Menu.new( [ 'Press', '<ESCAPE>', 'to Quit'], nil )
  main_menu.show
  main_menu.menu_selection
  main_menu.close
end

screen = PPCurses::Screen.new
screen.run { display_menu }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ppcurses-0.0.25 test/menu/displayMenu.rb
ppcurses-0.0.24 test/menu/displayMenu.rb
ppcurses-0.0.23 test/menu/displayMenu.rb
ppcurses-0.0.22 test/menu/displayMenu.rb