Sha256: 32726961321787a6c12a65a3f22b433e06a8e1aa0376b130b62f75e3b5d5bd4b

Contents?: true

Size: 308 Bytes

Versions: 1

Compression:

Stored size: 308 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
require 'ppcurses'

action = PPCurses::GetStringAction.new("Input your name: ");

def getStringAction(action)
  action.show()
  action.execute()
end

puts "HERE"

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

puts "HERE"
puts action.data()  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ppcurses-0.0.10 test/getStringAction.rb