Sha256: 85a4d655f1d134555f34f1e0021cdb43fa415b7e3638f38992fa6be1733c2556

Contents?: true

Size: 288 Bytes

Versions: 9

Compression:

Stored size: 288 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
require 'ppcurses'

def displayMenu()
  mainMenu = PPCurses::Menu.new( [ "Press", "<ESCAPE>", "to Quit" ], nil )
  mainMenu.show()
  mainMenu.getMenuSelection() 
  mainMenu.close()
end

screen = PPCurses::Screen.new()
screen.run { displayMenu() }

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ppcurses-0.0.16 test/displayMenu.rb
ppcurses-0.0.15 test/displayMenu.rb
ppcurses-0.0.14 test/displayMenu.rb
ppcurses-0.0.13 test/displayMenu.rb
ppcurses-0.0.12 test/displayMenu.rb
ppcurses-0.0.11 test/displayMenu.rb
ppcurses-0.0.10 test/displayMenu.rb
ppcurses-0.0.9 test/displayMenu.rb
ppcurses-0.0.8 test/displayMenu.rb