i2cssh 1.3.3 → 1.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/i2cssh.gemspec +1 -1
  3. data/lib/i2cssh.rb +3 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.3
1
+ 1.3.4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "i2cssh"
8
- s.version = "1.3.3"
8
+ s.version = "1.3.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Wouter de Bie"]
@@ -51,12 +51,14 @@ class I2Cssh
51
51
  end
52
52
 
53
53
  def split_session
54
+ first = true
54
55
  2.upto @columns do
55
56
  @sys_events.keystroke "d", :using => :command_down
56
57
  end
57
58
  2.upto @rows do
58
59
  1.upto @columns do
59
- @sys_events.key_code 123, :using => [:command_down, :option_down]
60
+ @sys_events.key_code 123, :using => [:command_down, :option_down] unless first
61
+ first = false
60
62
  end
61
63
  @columns.times do |x|
62
64
  @sys_events.keystroke "D", :using => :command_down
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i2cssh
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 3
10
- version: 1.3.3
9
+ - 4
10
+ version: 1.3.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Wouter de Bie