diff options
author | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-08 09:28:19 +0000 |
---|---|---|
committer | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-08 09:28:19 +0000 |
commit | 3c1264113ea52594940ce970fba2dc4eb83d5075 (patch) | |
tree | ea224162e950ca78a2c749bec583d74f7b256038 /lib/irb.rb | |
parent | 6ea874604879ce674ac54fb519489d427e3749a2 (diff) |
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb.rb')
-rw-r--r-- | lib/irb.rb | 5 |
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 |