rapid7/metasploit-framework — pull request #1299 by wchen-r7 (2013-01-12 07:46:17+00:00)
Title: [FixRM: #2100] Rescue TerminateLineInput in irb

[FixRM: #2100] - In irb, when you hit ^c, you will get an ugly backtrace. This fix handles that exception.

Two-year-old bug too:
http://dev.metasploit.com/redmine/issues/2100