examples/ide.rb in rubytext-0.1.4 vs examples/ide.rb in rubytext-0.1.5
- old
+ new
@@ -13,12 +13,12 @@
STDSCR.clear
RubyText.show_cursor
system("stty sane") # FIXME - dumb hack
STDSCR.puts "\n\n When you exit, you will\n return to the IDE.\n "
system(str)
- X.noecho # FIXME Shouldn't have to do this stuff
- X.stdscr.keypad(true)
- X.cbreak # by default
+ Curses.noecho # FIXME Shouldn't have to do this stuff
+ Curses.stdscr.keypad(true)
+ Curses.cbreak # by default
end
items = ["Edit lib", # 0
"Edit code", # 1
"Run code", # 2