Sha256: 472cf834f57e895f3110c0d477f4f4e6cc0fe05614a2cbeae31c5753dffb2271

Contents?: true

Size: 206 Bytes

Versions: 88

Compression:

Stored size: 206 Bytes

Contents

# frozen_string_literal: true

require 'bundler/setup'
require 'polyphony'
require 'io/console'

c = STDIN.raw(min: 1, tim: 0, &:getbyte)
p result: c
exit

puts '?' * 40
c = STDIN.getbyte
puts '*' * 40
p c

Version data entries

88 entries across 88 versions & 1 rubygems

Version Path
polyphony-1.6 examples/io/raw.rb
polyphony-1.5 examples/io/raw.rb
polyphony-1.4 examples/io/raw.rb
polyphony-1.3 examples/io/raw.rb
polyphony-1.2.1 examples/io/raw.rb
polyphony-1.2 examples/io/raw.rb
polyphony-1.1.1 examples/io/raw.rb
polyphony-1.1 examples/io/raw.rb
polyphony-1.0.2 examples/io/raw.rb
polyphony-1.0.1 examples/io/raw.rb
polyphony-1.0 examples/io/raw.rb
polyphony-0.99.6 examples/io/raw.rb
polyphony-0.99.5 examples/io/raw.rb
polyphony-0.99.4 examples/io/raw.rb
polyphony-0.99.3 examples/io/raw.rb
polyphony-0.99.2 examples/io/raw.rb
polyphony-0.99.1 examples/io/raw.rb
polyphony-0.99 examples/io/raw.rb
polyphony-0.98 examples/io/raw.rb
polyphony-0.97 examples/io/raw.rb