From 061c781a09de68c7e34e45732081aac337c4facc Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Sat, 25 May 2019 00:38:18 -0700 Subject: [PATCH] Drop method obsoleted by b83119be9e9a8611063142541993e4823a025622 We might need to do the same thing in IRB::Color now, but I'm not doing that as I assume ANSI escape sequence does not come from a user input though Reline. --- lib/reline/line_editor.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index 6d6df1078e..38a06a6a42 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -433,17 +433,6 @@ class Reline::LineEditor @config.editing_mode end - private def escaped_print(str) - @output.print str.chars.map { |gr| - escaped = Reline::Unicode::EscapedPairs[gr.ord] - if escaped - escaped - else - gr - end - }.join - end - private def menu(target, list) @menu_info = MenuInfo.new(target, list) end