term_canvas 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/_examples/test.rb +1 -1
- data/lib/term_canvas.rb +2 -0
- data/lib/term_canvas/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f152aa30e57114c77541645d37e39dbbecdc8dff5f2221fb327ea03c1b517cce
|
4
|
+
data.tar.gz: 2b51644b5a59d5cd2a1a9882a1c5ca6db9e53ff318485ff03537069ddb44e35f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83b4e73874fcba46c6b3fbcbbf75df474363e7b262ed569353ad45a44a3054eefb051e2d491b1e25d07edb10ef8184db700ec5186a6433f572c923c0af907b46
|
7
|
+
data.tar.gz: d513bf9ccf6a867fc9fa65fd919946a35be5c5d496884e832654f48ad45b05aecb124300f2c6a93a7406df208345166f07edebd2142eb9c0084e2f7d95813b09
|
data/Gemfile.lock
CHANGED
data/_examples/test.rb
CHANGED
data/lib/term_canvas.rb
CHANGED
@@ -19,11 +19,13 @@ module TermCanvas
|
|
19
19
|
|
20
20
|
# @return [Integer] Width of this screen.
|
21
21
|
def self.width
|
22
|
+
TermCanvas::BaseScreen.instance
|
22
23
|
Curses.cols
|
23
24
|
end
|
24
25
|
|
25
26
|
# @return [Integer] Height of this screen.
|
26
27
|
def self.height
|
28
|
+
TermCanvas::BaseScreen.instance
|
27
29
|
Curses.lines
|
28
30
|
end
|
29
31
|
|
data/lib/term_canvas/version.rb
CHANGED