diff options
Diffstat (limited to 'minimal.rb')
-rwxr-xr-x | minimal.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/minimal.rb b/minimal.rb new file mode 100755 index 00000000..ee1d11ad --- /dev/null +++ b/minimal.rb @@ -0,0 +1,10 @@ +#!/usr/bin/ruby +require 'thread' +require 'ncurses' + +Ncurses.initscr +Ncurses.cbreak + +Thread.new { Thread.stop } +loop { Ncurses.getch } + |