Current Path: > > opt > > alt > ruby32 > share > ruby > reline
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
key_actor | Directory | - | - | |
unicode | Directory | - | - | |
ansi.rb | File | 9352 bytes | April 24 2025 07:53:46. | |
config.rb | File | 10710 bytes | April 24 2025 07:53:46. | |
general_io.rb | File | 1484 bytes | April 24 2025 07:53:46. | |
history.rb | File | 1914 bytes | April 24 2025 07:53:46. | |
key_actor.rb | File | 169 bytes | April 24 2025 07:53:46. | |
key_stroke.rb | File | 2618 bytes | April 24 2025 07:53:46. | |
kill_ring.rb | File | 2443 bytes | April 24 2025 07:53:46. | |
line_editor.rb | File | 113869 bytes | April 24 2025 07:53:46. | |
terminfo.rb | File | 5492 bytes | April 24 2025 07:53:46. | |
unicode.rb | File | 21342 bytes | April 24 2025 07:53:46. | |
version.rb | File | 38 bytes | April 24 2025 07:53:46. | |
windows.rb | File | 16874 bytes | April 24 2025 07:53:46. |
require 'timeout' require 'io/wait' class Reline::GeneralIO def self.reset(encoding: nil) @@pasting = false @@encoding = encoding end def self.encoding if defined?(@@encoding) @@encoding elsif RUBY_PLATFORM =~ /mswin|mingw/ Encoding::UTF_8 else Encoding::default_external end end def self.win? false end def self.set_default_key_bindings(_) end @@buf = [] @@input = STDIN def self.input=(val) @@input = val end 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 def self.ungetc(c) @@buf.unshift(c) end def self.get_screen_size [1, 1] end def self.cursor_pos Reline::CursorPos.new(1, 1) end def self.hide_cursor end def self.show_cursor end def self.move_cursor_column(val) end def self.move_cursor_up(val) end def self.move_cursor_down(val) end def self.erase_after_cursor end def self.scroll_down(val) end def self.clear_screen end def self.set_screen_size(rows, columns) end def self.set_winch_handler(&handler) end @@pasting = false def self.in_pasting? @@pasting end def self.start_pasting @@pasting = true end def self.finish_pasting @@pasting = false end def self.prep end def self.deprep(otio) end end
SILENT KILLER Tool