Sha256: ca6199d688d163c782f5de5ac61b6f64b069bffa5fa7c85c6ee5a403e8228146
Contents?: true
Size: 307 Bytes
Versions: 4
Compression:
Stored size: 307 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require_relative '../lib/ppcurses.rb' 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ppcurses-0.0.20 | test/displayMenu.rb |
ppcurses-0.0.19 | test/displayMenu.rb |
ppcurses-0.0.18 | test/displayMenu.rb |
ppcurses-0.0.17 | test/displayMenu.rb |