Sha256: 385f44846b4379057f29d3e5d334b9e1d563ff4268e1db82fa76ec0ca266696d

Contents?: true

Size: 335 Bytes

Versions: 3

Compression:

Stored size: 335 Bytes

Contents

#!/usr/bin/env ruby

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

def display_menu
  menu = PPCurses::Menu.new( [ 'Press', '<ESCAPE>', 'to Quit'] )
  menu.side_wall_char = '\\'
  menu.top_bot_wall_char = '='

  menu.show
  menu.menu_selection
  menu.close
end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ppcurses-0.1.2 test/menu/changeMenuBorder.rb
ppcurses-0.1.1 test/menu/changeMenuBorder.rb
ppcurses-0.1.0 test/menu/changeMenuBorder.rb