summary refs log blame commit diff stats
path: root/minimal.rb
blob: ee1d11ad68e2cad2ebff0b3d63d2d4558f430253 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                          
#!/usr/bin/ruby
require 'thread'
require 'ncurses'

Ncurses.initscr
Ncurses.cbreak

Thread.new { Thread.stop }
loop { Ncurses.getch }