Sha256: b58610232331ab43fb46986cb9c6b9c671860ecd2f7e6d2364f3099641f95d0a
Contents?: true
Size: 236 Bytes
Versions: 3
Compression:
Stored size: 236 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require_relative '../../lib/ppcurses.rb' def wait_for_key Curses.setpos(0,0) Curses.addstr('Press any key') Curses.getch end screen = PPCurses::Screen.new screen.run { wait_for_key }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ppcurses-0.1.2 | test/raw_screen/press_a_key.rb |
ppcurses-0.1.1 | test/raw_screen/press_a_key.rb |
ppcurses-0.1.0 | test/raw_screen/press_a_key.rb |