TODO: undo TODO: Use “private alias_method” idiom after drop Ruby 2.5.
output[W]
output_modifier_proc[RW]
pre_input_hook[RW]
prompt_proc[RW]
Public Class Methods
new(config, encoding)click to toggle source
# File reline/line_editor.rb, line 56definitialize(config, encoding)
@config = config@completion_append_character = ''reset_variables(encoding:encoding)
end
Public Instance Methods
set_pasting_state(in_pasting)click to toggle source
# File reline/line_editor.rb, line 62defset_pasting_state(in_pasting)
@in_pasting = in_pastingend
simplified_rendering?()click to toggle source
# File reline/line_editor.rb, line 66defsimplified_rendering?iffinished?falseelsif@just_cursor_movingandnot@rerender_alltrueelsenot@rerender_allandnotfinished?and@in_pastingendend