Class
Class Methods
::
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 75
def self.clear_screen
end
No documentation available
::
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 56
def self.cursor_pos
Reline::CursorPos.new(1, 1)
end
No documentation available
::
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 101
def self.deprep(otio)
end
No documentation available
::
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 10
def self.encoding
if defined?(@@encoding)
@@encoding
elsif RUBY_PLATFORM =~ /mswin|mingw/
Encoding::UTF_8
else
Encoding::default_external
end
end
No documentation available
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 69
def self.erase_after_cursor
end
No documentation available
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 94
def self.finish_pasting
@@pasting = false
end
No documentation available
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 52
def self.get_screen_size
[1, 1]
end
No documentation available
::
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 34
def self.getc
unless @@buf.empty?
return @@buf.shift
end
c = nil
loop do
result = @@input.wait_readable(0.1)
next if result.nil?
c = @@input.read(1)
break
end
c&.ord
end
No documentation available
::
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 86
def self.in_pasting?
@@pasting
end
No documentation available
::
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 30
def self.input=(val)
@@input = val
end
No documentation available
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 60
def self.move_cursor_column(val)
end
No documentation available
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 66
def self.move_cursor_down(val)
end
No documentation available
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 63
def self.move_cursor_up(val)
end
No documentation available
::
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 98
def self.prep
end
No documentation available
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 5
def self.reset(encoding: nil)
@@pasting = false
@@encoding = encoding
end
No documentation available
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 72
def self.scroll_down(val)
end
No documentation available
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 24
def self.set_default_key_bindings(_)
end
No documentation available
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 78
def self.set_screen_size(rows, columns)
end
No documentation available
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 81
def self.set_winch_handler(&handler)
end
No documentation available
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 90
def self.start_pasting
@@pasting = true
end
No documentation available
::
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 48
def self.ungetc(c)
@@buf.unshift(c)
end
No documentation available
::
lib/reline/general_io.rb
View on GitHub
# File tmp/rubies/ruby-3.1.3/lib/reline/general_io.rb, line 20
def self.win?
false
end
No documentation available