diff options
author | hut <hut@lavabit.com> | 2009-06-11 00:12:45 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-06-11 14:51:38 +0200 |
commit | 2cf9236d6a2a53de175338071f784db39b261b9e (patch) | |
tree | e71766cd1c5bb29bc51678ef411d35f49a728cea /minimal.rb | |
parent | d73f76fc9ed1bf9eeb0ace66d80e7abd55663e3a (diff) | |
download | ranger-2cf9236d6a2a53de175338071f784db39b261b9e.tar.gz |
fixed.
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 } + |