exe/fusuma-sendkey in fusuma-plugin-sendkey-0.1.1 vs exe/fusuma-sendkey in fusuma-plugin-sendkey-0.2.0
- old
+ new
@@ -17,11 +17,11 @@
end
opt.parse!(ARGV)
if option[:list]
- puts Keyboard.new.available_codes
+ puts Fusuma::Plugin::Sendkey::Keyboard.new.available_codes
return
end
if option[:version]
puts Fusuma::Plugin::Sendkey::VERSION
@@ -34,8 +34,8 @@
warn 'fusuma-sendkey require 1 arugument'
warn 'e.g. fusuma-sendkey LEFTALT+LEFT'
exit 1
end
-Keyboard.new.type_command(param: param).tap do |command|
+Fusuma::Plugin::Sendkey::Keyboard.new.type_command(param: param).tap do |command|
exec(command)
end