Sha256: 7c74f106448d4a465f3545559f4b3ba584e30d4258742c63d7caac97627f119c

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 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

1 entries across 1 versions & 1 rubygems

Version Path
ppcurses-0.0.21 test/displayMenu.rb