about summary refs log tree commit diff stats
path: root/minimal.rb
diff options
context:
space:
mode:
Diffstat (limited to 'minimal.rb')
-rwxr-xr-xminimal.rb10
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 }
+