summaryrefslogtreecommitdiff
path: root/lib/irb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb.rb')
-rw-r--r--lib/irb.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index 2045ed3e09..1b8444b5b3 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -1,6 +1,6 @@
#
# irb.rb - irb main module
-# $Release Version: 0.7.3 $
+# $Release Version: 0.7.4 $
# $Revision$
# $Date$
# by Keiju ISHITSUKA(keiju@ishitsuka.com)
@@ -209,8 +209,7 @@ module IRB
case @signal_status
when :IN_INPUT
print "^C\n"
- @scanner.initialize_input
- print @context.io.prompt
+ raise RubyLex::TerminateLineInput
when :IN_EVAL
IRB.irb_abort(self)
when :IN_LOAD