smooth_terminal_print 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/smooth_terminal_print.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5ebf9a35ab3efc109bd2fa33457798b8b06d488
|
4
|
+
data.tar.gz: 12bccbd3291b914f46ff1001940edc221d5d9e86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bc5590574bf1e85aeba89446487a16d235448dff3e393da9dae4bb56494c408cfa4fabdc585f2f49028f315592ea384eb413d545bfbd1620b283b96d6ea7a9a
|
7
|
+
data.tar.gz: f09acd0d1b1d6df9492c85bd702933f4d8fd569fb74504fc603260598685d0021b4cbca10e76537ef617be54c73e605fe7ec77292e045f5b5e432b26f2c8af80
|
@@ -51,7 +51,7 @@ module SmoothTerminalPrint
|
|
51
51
|
if(@stp_reset_timer == nil || Time.now.to_i - @stp_reset_timer > 3)
|
52
52
|
old_num_lines = @num_lines
|
53
53
|
old_num_cols = @columns
|
54
|
-
@num_lines = (`tput lines`).strip.to_i -
|
54
|
+
@num_lines = (`tput lines`).strip.to_i - 2
|
55
55
|
@columns = `tput cols`.strip.to_i - 5
|
56
56
|
|
57
57
|
if(old_num_lines != @num_lines || old_num_cols != @columns)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smooth_terminal_print
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Sykes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Allows the user to smoothly print to the terminal while in a tight loop
|
14
14
|
email: brettcsykes@gmail.com
|