yamatanooroti 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 405b57a78b93d5990c59232f331cfabec9c9c0e6bd6f0421ed4f62d7df0f93ed
4
- data.tar.gz: e3cb1a67a2ab62d8afa3c12ff9e76b6630c4ea7bd9adc3f79074f438bcefd2eb
3
+ metadata.gz: a51e36e0f854db73b07bb49b5d1d5814daba6677de910fe7e3abc9b2099364f7
4
+ data.tar.gz: 00d11181f6e956a9fca14e84d4ec5b39896575bab9044b6092b6733c32805f8b
5
5
  SHA512:
6
- metadata.gz: a3831e1e85b7c03ff786ec24085ba85846ef9b1aa9ce049043cf6d96e3ff39fa7981c67123f91355a7c3f8f7f721a3c827d2d93fc18d43e74875f5a940600952
7
- data.tar.gz: e3626f863db8cdb3b4287485b068883e117f4b2946f2f1d55cd6d4eca991b9753ccf6c967d7461936c8cb5311867404ae2431f525c725380d56632196f90371c
6
+ metadata.gz: fd489a9b4f90e6736fb035176d1942d87a8057dc6578a516703a0da4f9110a497b07983d5028db8747afe754f59191dacbda937dd29e28acf52fce1937998e0b
7
+ data.tar.gz: cd56856af0b8fd4f6809cf838389a2a199013ccf4d0f19c886bb7ffc3c769bc1447a87e36abfc1c359bf346cf2e60f94898f2b034427921410a1913a8b9641f5
@@ -1,3 +1,3 @@
1
1
  class Yamatanooroti
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
@@ -90,12 +90,14 @@ module Yamatanooroti::VTermTestCaseModule
90
90
  @result << ''
91
91
  cols.times do |c|
92
92
  cell = @screen.cell_at(r, c)
93
- if cell.char.nil? or cell.char.empty?
94
- # There will be no char to the left of the rendered area if moves
95
- # the cursor.
96
- @result.last << ' '
97
- else
98
- @result.last << cell.char
93
+ if cell.char # The second cell of fullwidth char will be nil.
94
+ if cell.char.empty?
95
+ # There will be no char to the left of the rendered area if moves
96
+ # the cursor.
97
+ @result.last << ' '
98
+ else
99
+ @result.last << cell.char
100
+ end
99
101
  end
100
102
  end
101
103
  @result.last.gsub!(/ *$/, '')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yamatanooroti
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - aycabta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-08 00:00:00.000000000 Z
11
+ date: 2021-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit