summaryrefslogtreecommitdiff
path: root/lib/reline/line_editor.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-05-25 00:38:18 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2019-05-25 00:38:19 -0700
commit061c781a09de68c7e34e45732081aac337c4facc (patch)
tree0e34563c365e6f89b8d24b2be98bc9880a2179df /lib/reline/line_editor.rb
parentb83119be9e9a8611063142541993e4823a025622 (diff)
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.
Diffstat (limited to 'lib/reline/line_editor.rb')
-rw-r--r--lib/reline/line_editor.rb11
1 files changed, 0 insertions, 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