Sha256: 796600b13b397bd68aaf3f6a7b247db1fa3fe715d557d89ec483b1a0d5fdda56

Contents?: true

Size: 340 Bytes

Versions: 4

Compression:

Stored size: 340 Bytes

Contents

#!/usr/bin/env ruby

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

def display_menu
  menu = PPCurses::Menu.new( [ 'Press', '<ESCAPE>', 'to Quit'], nil )
  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

4 entries across 4 versions & 1 rubygems

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