GRAYBYTE WORDPRESS FILE MANAGER3748

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.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
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/alt/ruby34/share/ruby/reline/key_actor/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/alt/ruby34/share/ruby/reline/key_actor//base.rb
class Reline::KeyActor::Base
  def initialize(mappings = nil)
    @matching_bytes = {}
    @key_bindings = {}
    add_mappings(mappings) if mappings
  end

  def add_mappings(mappings)
    add([27], :ed_ignore)
    128.times do |key|
      func = mappings[key]
      meta_func = mappings[key | 0b10000000]
      add([key], func) if func
      add([27, key], meta_func) if meta_func
    end
  end

  def add(key, func)
    (1...key.size).each do |size|
      @matching_bytes[key.take(size)] = true
    end
    @key_bindings[key] = func
  end

  def matching?(key)
    @matching_bytes[key]
  end

  def get(key)
    @key_bindings[key]
  end

  def clear
    @matching_bytes.clear
    @key_bindings.clear
  end
end

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
June 26 2025 08:35:32
root / linksafe
0755
base.rb
0.695 KB
May 29 2025 13:39:42
root / linksafe
0644
composite.rb
0.316 KB
May 29 2025 13:39:42
root / linksafe
0644
emacs.rb
7.008 KB
May 29 2025 13:39:42
root / linksafe
0644
vi_command.rb
6.487 KB
May 29 2025 13:39:42
root / linksafe
0644
vi_insert.rb
6.601 KB
May 29 2025 13:39:42
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF