termup 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/termup/handler.rb +2 -2
- data/lib/termup/version.rb +1 -1
- metadata +1 -1
data/lib/termup/handler.rb
CHANGED
@@ -30,9 +30,9 @@ module Termup
|
|
30
30
|
activate
|
31
31
|
case key
|
32
32
|
when Integer
|
33
|
-
app('System Events').key_code key, using && { :using => using }
|
33
|
+
app('System Events').processes[app_name].key_code key, using && { :using => using }
|
34
34
|
when String
|
35
|
-
app('System Events').keystroke key, using && { :using => using }
|
35
|
+
app('System Events').processes[app_name].keystroke key, using && { :using => using }
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
data/lib/termup/version.rb
CHANGED