summaryrefslogtreecommitdiff
path: root/lib/pry/repl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pry/repl.rb')
-rw-r--r--lib/pry/repl.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/pry/repl.rb b/lib/pry/repl.rb
index ba032c7f..c5550bc9 100644
--- a/lib/pry/repl.rb
+++ b/lib/pry/repl.rb
@@ -140,12 +140,6 @@ class Pry
should_retry = false
retry
- # Handle <Ctrl+C> like Bash: empty the current input buffer, but don't
- # quit. This is only for MRI 1.9; other versions of Ruby don't let you
- # send Interrupt from within Readline.
- rescue Interrupt
- return :control_c
-
# If we get a random error when trying to read a line we don't want to
# automatically retry, as the user will see a lot of error messages
# scroll past and be unable to do anything about it.